
Originally Posted by
kindows
wating:
SERIN PORTa.1,N9600,["K"],b1
IF b1 = 51 THEN out ' Ascii 51 = decimal 3 (When you type 3 myvar will be 51)
goto wating ' this line is esential otherwise any key will activate the function
out:
HIGH PORTb.7
PAUSE 300
LOW PORTb.7
goto watin
Bookmarks