Ouputing Char Codes as Chars using FullDuplexSerialPlus?
SRLM
Posts: 5,045
Okay, I know that there must be a really simple way of converting numbers to chars, but I seem to be very incompentent today. I'm using the getkey function of the keyboard.spin object, and I'm using FullDuplexSerialPlus to output the stuff to a PST. I can get it to display a number, but what I really want to do is the have it convert the number into a charecter. How do I do that?
Edit: I tried putting a lookup table as in debug.str(lookup(keycode: "a", "b", "c")) but that didn't work.
Edit: I tried putting a lookup table as in debug.str(lookup(keycode: "a", "b", "c")) but that didn't work.
Comments
As a side note, I'd also like to get the Prop to intercept the key commands and output a morse code equivelent via a solinoid. More of an annoying toy than anything else.