> > > If you can use a PS/2 keyboard instead of the AT keyboard, then check out > the User's Guide for the Microchip PICDEM USB development board. It has a > complete functional schematic and code for interfacing to a PS/2 keyboard. The PS/2 and AT keyboard interfaces are virtually identical, except for the shape of the connector (and possibly some minor electrical parameters). Any code for interfacing to a PS/2 keyboard should work fine for an AT keyboard as well. Note that an XT keyboard is quite different. Greetings, Maarten Hofman. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist