How do I print ASCII letter rather than decimal value?
Don M
Posts: 1,653
I have this bit of code:
This bit of code receives 3 bytes in and then displays them with a space in between and it will print out the decimal equivalent of the ascii letters. How do I change it to print the actual ascii letter (or number) instead? I'm using full duplex serial plus with PST.
I tried changing it to term.str but that printed nothing.
Thanks.
Don
repeat dinx from 1 to 3 term.dec(chsetupp[dinx]) term.tx(32)
This bit of code receives 3 bytes in and then displays them with a space in between and it will print out the decimal equivalent of the ascii letters. How do I change it to print the actual ascii letter (or number) instead? I'm using full duplex serial plus with PST.
I tried changing it to term.str but that printed nothing.
Thanks.
Don
Comments