Problems with my code for PIC to PS/2 keyboard interface

Status
Not open for further replies.

strombom

Member level 1
Joined
Jun 23, 2003
Messages
37
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Location
Stockholm, Sweden
Activity points
355
Hi!

I have written some code to interface a PS/2 keyboard with a PIC16F84. The code for recieving data from the keyboard works perfect, but when I try to send commands to the keyboard (for example 0xEE, echo), the keyboard resets itself or returns a BAT error (0xFC).

Can someone see what the problem is or can you give me tips where I can find good information. I would love if someone has sourcecode that I can read!

Thanks!
/Johan
 

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