mhzco
Newbie level 1
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
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 " "