PDA

View Full Version : Binary to ASCII routine



sonnichs
- 24th December 2005, 01:25
I am trying to write ASCII text numerals to an LCD and could not find a command to convert my regsiter contents into readable ASCII. Perhaps there is not such command in PB and I need to write one? If so does anyone have an optimized code sample (non-pro verision) for converting binary to Ascii

Thanks,
Fritz

Luciano
- 24th December 2005, 15:16
Hi,

See the link below.

Convert a byte into three ASCII digits and display them on the LCD.

See PDF page 17 and 19 (doc page 87 and 89, source code page 89).
http://www.parallax.com/html_pages/downloads/software/images/BASIC_Stamp_AppNotes.pdf

Best regards,

Luciano