??? 07/11/09 13:52 Read: times |
#167082 - Re: Not a shortcut? Responding to: ???'s previous message |
Yes, I have actually used a lot of "if..else" statements to convert.
Andy Neil said:
In other words, do you understand why you use 0x16 to represent sixteen? Understanding that would show you the easy way to obtain the BCD form from a "normal" number... Please explain Andy. |
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 |