just quicky,

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 &lt;= 200 then goto loop1
debug b1
serout 7,T2400,(254,128,&quot;Please enter letter &quot; )
serout 7,T2400,(254,192,&quot;You entered &quot;, keyvalue,&quot; &quot;)
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
 

hippy

Ex-Staff (retired)
Take a look at KEYIN.BAS is the Samples folder below the Programming Editor installation directory.
 
I have a 40x wwill check it out :)
will this work with 40x?

thanks
nat

EDITED:
just tried it on the 40x and works fine :)

thanks! (video uploading on tues to youtube, will let you know)

Edited by - Roboteernat on 24/03/2007 21:36:05
 
Top