Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

eror in using keypad in proteus

Status
Not open for further replies.

mhzco

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

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top