Shop OBEX P1 Docs P2 Docs Learn Events
Using PS/2 port to Emulate a Mouse — Parallax Forums

Using PS/2 port to Emulate a Mouse

sr228822sr228822 Posts: 1
edited 2007-03-21 15:38 in BASIC Stamp
I'm trying to emulate a mouse with a Basic Stamp 2 circuit.
Does anyone know how to communicate with the computer through a PS/2 Port?
Is there pre-made code to deal with the protocol?
Thanks for any help you can offer.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-03-21 15:38
    Hello,

    Here is a site that explains the Protocol (Googled). Essentially it's an SPI interface in that there's a clock and data line. Take care.

    http://www.computer-engineering.org/ps2protocol/

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.