Andre Abelian wrote : > Based on what I understood PS2 keyboard uses bi-directional > communication. I am not sure about the mouse > does it work similar way "bi-directional" or mouse is just > output device? Most (rellatively) modern mouses are bi-dir. You can (using some GUI) set things like resolution and other things in the mouse. But mosts mouses wakes up in a standard config, and I don't think one *have* to write to them, generaly speaking. > my main question is Can I use PIC's hardware SPI interface > for keyboard or mouse. I like PIC18F parts. any info will > appreciate. As Maarten wrote, sounds like a waste of hardware in the PIC... Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist