eror in using keypad in proteus

Status
Not open for further replies.

mhzco

Newbie level 1
Joined
Jul 5, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
Hi everybody.
i use bascom for programming and proteus for simulating
i got an error on proteus when i use keypad

it can be simple to fix it, but i really cant find the problem so i cant use keypad
PHP:
$regfile = "m32def.dat"
$crystal = 4000000
Config Kbd = Portc
Dim B As Byte , I As String * 1
Cls
Do
B = Getkbd()
I = Lookupstr(b , Keydata)
If I <> " " Then
Lcd I
Else
End If
Loop
End
Keydata:
Data "1" , "2" , "3" , " "
Data "4" , "5" , "6" , " "
Data "7" , "8" , "9" , " "
Data " " , "0" , " " , " "
Data " "
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…