??? 07/11/09 07:00 Read: times |
#167059 - Keyboard? Responding to: ???'s previous message |
Conversions between BCD and "pure" binary are well documented, and have been extensively discussed here before - even this week - just do the 'Search'
But, Giang Ho said:
I could only do it via the controller keyboards which is decimal value. No, a keyboard is just a load of switches: it knows nothing about any meaning or interpretation of those switches - such as hex, decimal, BCD, or any other number format. I think you mean that your keyboard "driver" is interpreting the key presses as decimal numbers? In which case, it might be as easy to get your keyboard "driver" to interpret the keys in the required format...? |
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 |