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.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top