Skip to content
Arduino library to connect to devices over PS/2 protocol
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Mouse.ino
PS2.ino
README.md
pan3402.ino

README.md

arduino-ps2

Arduino library to connect with optical mouse over PS/2 protocol

Blog post about process http://imelnikov.ru/radio/arduino-rc

Based on

Usage

Download PS2.ino and Mouse.ino files and put them in the same folder.

Mouse m(5, 6); // cl, dt
m.init();

int data[2];
m.read(data);

Serial.print(" dx ");
Serial.print(data[0]);
Serial.print(" dy ");
Serial.println(data[1]);

For op720 mouse

  • red - VCC
  • black - GND
  • green - CLK
  • white - DT
You can’t perform that action at this time.