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.