Hi people, Wondering if you could help. I have been trying to code an interface to an AT keyboard with an LPC2129. I have been using timer0 capture on the falling edge of the clk line to create an interupt which then reads the value of the data line. according to http://panda.cs.ndsu.nodak.edu/%7Eachapwes/PICmicro/PS2/ps2.htm i should recieve 4 bytes (carried on 11 bit each) for a key pressed(2) and released(2), however I am only recieving about 2 bytes and they dont match up with what they should be. I have used the information I am recieving to echo alpha-numeric keys to the serial port but I need to read the bytes correctly for 'special' keys like control, alt, del etc. If you would like to check out my poorly writen code then ask and I put on my web site or email to you. Cheers, Andy