interfacing ps2 and matrix display with pic18f4550

Status
Not open for further replies.

alphagate

Newbie level 3
Joined
Dec 21, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Nigeria
Visit site
Activity points
1,303
I have successfully interfaced pic18f4550 with matrix display using mikroC. Now, I am trying to add PS2 keyboard to the project using the ps2 library provided in mikroC but whenever a key is pressed, it displays something else. Atimes, it will not respond to the key press. I am using standard 101 keyboard(dell). I pulled up the clock and the data pin with 1k resistors. I configured Portc for the ps2.
What I have in mind
I declared a string variable msg to hold the default message. So whenever a key is pressed, it modifies the content of the variable and sends it to the matrix display. Pls, kindly help me out! I have spent weeks on it.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…