??? 07/13/09 07:18 Read: times |
#167162 - Look at the DS1307 datasheet Responding to: ???'s previous message |
Erik Malund said:
BCD is the most significant value in the left nibble and the least significant value in the right nibble. To be more precise, it is the most-significant digit in the left (ie, most-significant) nibble and the least-significant digit in the right (least-significant) nibble. Again, this requires an understanding of the basic principles of place value... The figures in the DS1307 datasheet actually show how the digits of the day/month/etc values fit into the fields of the different registers... Of course, these values are special cases - eg, the most-significant digit of a day cannot be >3; the most-significant digit of a month can only ever be 0 or 1 - so complete nibbles are not always needed... |
Topic | Author | Date |
Convert BCD, hex and decimal in C (DS1307 related) | 01/01/70 00:00 | |
Keyboard? | 01/01/70 00:00 | |
Another thought about that keyboard... | 01/01/70 00:00 | |
Re:Another thought about that keyboard... | 01/01/70 00:00 | |
Wrong approach? | 01/01/70 00:00 | |
Re: Wrong approach? | 01/01/70 00:00 | |
Division | 01/01/70 00:00 | |
Not a shortcut? | 01/01/70 00:00 | |
Re: Not a shortcut? | 01/01/70 00:00 | |
Basics (edited) | 01/01/70 00:00 | |
addition to the above | 01/01/70 00:00 | |
Look at the DS1307 datasheet | 01/01/70 00:00 | |
Check this | 01/01/70 00:00 | |
Incorrect![]() | 01/01/70 00:00 |