Shop OBEX P1 Docs P2 Docs Learn Events
Trying to display ASCII on TV/monitor — Parallax Forums

Trying to display ASCII on TV/monitor

HShankoHShanko Posts: 402
edited 2011-09-19 15:08 in Propeller 1
Maybe this is a basic concept, but I'm trying to display ASCII characters. I have byte size values that I can send to a LCD (a 24 x 1 line) but find TV_text can provide bin, hex and dec representation but how does one display just characters?

I have some canned strings plus using bin, hex, and dec (example TV,hex(c) or TV.bin(c)). That works great. But can't recall if I ever displayed the letters represented by hex 20..7F.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-09-19 14:49
    TV.out(value) will display the character whose value is given. TV.out("z") will display the character z since a single quoted character has the value of that character as a number. TV.out($20) will display a single space.
  • HShankoHShanko Posts: 402
    edited 2011-09-19 15:08
    That's it. Works great. Of course the LCD's ROM characters are different than the Parallax set outside of $20..$7F. Thanks again for the help on rather trivial problems. But enough to stop progress.
Sign In or Register to comment.