Problem in switch on ps2 keyboard led individually

Status
Not open for further replies.

padma

Newbie level 6
Joined
Sep 26, 2010
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,368
Sir,

I am doing a project in PIC16F877A .Here in my project,I want to collect data from ps2 key board, and it is to be displayed on LCD.But now I am facing some difficulties to lit the key board LED's individually.

To lit caps lock led, I first send 0xed ,then I received 0xfa as (ACK) from key board.After that I have send 0x04 but caps lock led doesn't glows.If I am giving command to glow any of the two combination of led's it works.


But I couldn't able to trace out where I made mistake.Can any one give me proper idea to rectify this problem.



Thanking you.
 

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