djc
Advanced Member level 1
- Joined
- Jan 27, 2013
- Messages
- 402
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- India
- Activity points
- 4,554
Hi
Can anybody please guide me that how to write c code for PS/2 keyboard interfacing with AVR ATMEGA 32. I am using mikroC PRO for AVR compiler and EASY AVR5 developement kit. It doesn't have PS/2 socket so I bought one socket connected to keyboard connector and wires from PS/2 socket to respective pins of PORT C. I tried to use library for USART and PS/2 and TERA TERM hyperterminal program on Windows 7. Serial cable from development kit is connected to computer. I tried to change baud rate in example code provided to 9600 but i am geting no output. I followed same procedure for PIC 32 on PIC development board with mikroC PRO for PIC. There it's working fine. Please guide me.
Thanking You
Can anybody please guide me that how to write c code for PS/2 keyboard interfacing with AVR ATMEGA 32. I am using mikroC PRO for AVR compiler and EASY AVR5 developement kit. It doesn't have PS/2 socket so I bought one socket connected to keyboard connector and wires from PS/2 socket to respective pins of PORT C. I tried to use library for USART and PS/2 and TERA TERM hyperterminal program on Windows 7. Serial cable from development kit is connected to computer. I tried to change baud rate in example code provided to 9600 but i am geting no output. I followed same procedure for PIC 32 on PIC development board with mikroC PRO for PIC. There it's working fine. Please guide me.
Thanking You