| ??? 04/12/99 02:21 Read: times |
#367 - RE: Int to Ascii |
You can use sprintf, or if it's a single digit (0-9) you can just add 48 to the value to convert it to ASCII.
That is to say, if the keyboard returns the value 3, add 48 to it and you'll have 51. 51 is the ASCII value of the character '3'. Good luck, Craig Steiner |
| Topic | Author | Date |
| Int to Ascii | 01/01/70 00:00 | |
| RE: Int to Ascii | 01/01/70 00:00 | |
| RE: Int to Ascii | 01/01/70 00:00 | |
motorola lcd and keypad programs | 01/01/70 00:00 |



