Arduino + Mouse + 2 Servos

Arduino + Mouse + 2 Servos

Controlling two servos using a PS2 optical mouse with Arduino.

Hardware: got a PS2 female plug, soldered the wires as indicated in this post at arduino playground (http://www.arduino.cc/playground/ComponentLib/Ps2mouse) and pluged a PS2 mouse on it;
Software: used the library from the same post and two global variables to store X and Y absolute positions (since the library returns the relative position from zero).