Hi I have recently finished writing some code in PICBASIC PRO which will read a PS/2 or AT keyboard and output 7-bit ASCII.
I know that this is not new but I have searched the Internet for a complete PIC working package and could not find one. (if I could I would have used it).
I have noticed that there are quite a few people who have asked for this code and I have also found notes to say it is a trivial matter to make a PC keyboard converter program with a PIC.
It is probably easier in assembler because there is more time to read and shift data but I found that once all the keyboard functions are in the right order it works very well with PICBASIC.
I have put the details here -
http://www.interak.pwp.blueyonder.co.uk/PCtoASCII.htm
Alan
Bookmarks