Skip to content

melnikov-ivan/arduino-ps2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Arduino library to connect to devices over PS/2 protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%