Roboteernat
Member
im thinking of using keyvalue to write the letter onto an lcd, such as:
<code><pre><font size=2 face='Courier'>
display_lcd:
readadc 0,spell_mode
if spell_mode <= 200 then goto loop1
debug b1
serout 7,T2400,(254,128,"Please enter letter " )
serout 7,T2400,(254,192,"You entered ", keyvalue," "
return
</font></pre></code>
is it possible to do this so it would display the letter, coz im guessing it will display 1c for letter a on the lcd, and 32 if b was pressed?
is it possible to use keyvalue to display the ascii character of it? do you have to use a symbol infront of keyvalue as you would on normal registers:
$b1 etc
thanks.
nat
<code><pre><font size=2 face='Courier'>
display_lcd:
readadc 0,spell_mode
if spell_mode <= 200 then goto loop1
debug b1
serout 7,T2400,(254,128,"Please enter letter " )
serout 7,T2400,(254,192,"You entered ", keyvalue," "
return
</font></pre></code>
is it possible to do this so it would display the letter, coz im guessing it will display 1c for letter a on the lcd, and 32 if b was pressed?
is it possible to use keyvalue to display the ascii character of it? do you have to use a symbol infront of keyvalue as you would on normal registers:
$b1 etc
thanks.
nat