??? 05/14/07 23:11 Read: times |
#139253 - convert to ASCII Responding to: ???'s previous message |
hallo Lutfi
If you have try "hello world program" you can follow bellow. To write number to LCD number, data must be in ASCII code. You can send every number in BCD by adding 48. example: 1C8 hex. converted to BCD 456 convert BCD to ASCII (4 + 48) = 52 for '4' (5 + 48) = 53 for '5' (6 + 48) = 54 for '6' you can write to LCD one by one i.e. 52 then 53 then 54 good luck hendry |
Topic | Author | Date |
Display number on LCD 2x16 | 01/01/70 00:00 | |
How far have you got? | 01/01/70 00:00 | |
perhaps reading the datasheet would help | 01/01/70 00:00 | |
Andy & Richard | 01/01/70 00:00 | |
Sorry! | 01/01/70 00:00 | |
Apologies where due, I guess I missed that. | 01/01/70 00:00 | |
A bit of help | 01/01/70 00:00 | |
See Code Library | 01/01/70 00:00 | |
convert to ASCII | 01/01/70 00:00 | |
Not BCD | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
LCD asm printf function![]() | 01/01/70 00:00 |