undefined symbol ?
Hi all,
the BS2 tell me " undefined symbo " for the "W" character
the program work whit numbers but i need to use letters for this ... do you have a idea how can i solve this problem?
this program is just a little demo my real project is to control 2 servo whit the "W = forward , A = Left , S = backward, D = Right" character like in the most game...
And it could serve to make a password to..
{$STAMP BS2}
' {$PBASIC 2.5}
on1 VAR Byte
start:
DO
DEBUG CLS
DEBUGIN DEC on1
Main:
IF (on1 = W ) THEN LEDON
LOW 0
PAUSE 500
LOOP
LEDON:
HIGH 0
PAUSE 500
GOTO start
'the BS2 tell me " undefined symbo " for the "W" character
the program work whit numbers but i need to use letters for this ... do you have a idea how can i solve this problem?
this program is just a little demo my real project is to control 2 servo whit the "W = forward , A = Left , S = backward, D = Right" character like in the most game...
And it could serve to make a password to..
Comments