Changes

74 bytes added ,  23:54, 5 April 2016
no edit summary
Line 326: Line 326:  
| 0x30
 
| 0x30
 
| 8
 
| 8
| RTC time (system clock). 7 bytes are read from this. The upper nibble of each byte encodes 10s, so each byte is post-processed with (byte & 0xF) + (10 * (byte >> 4)). Byte 0 encodes seconds, byte 6 is years, etc.
+
| RTC time (system clock). 7 bytes are read from this. The upper nibble of each byte encodes 10s, so each byte is post-processed with (byte & 0xF) + (10 * (byte >> 4)). Byte 0 encodes seconds, byte 1 minutes, byte 2 hours, byte *4* days, byte 5 months and byte 6 years (byte 3 is unused?)
 
|-
 
|-
 
| 0x31
 
| 0x31
254

edits