DC2Wheels is an Arduino's library to control the movements of robots guided by two wheels connected to DC motors
for robots with Servo Motors go to Continuous2Wheels
Clone or download this project to arduino's libraries folder: on Ubuntu (/usr/share/arduino/libraries/) on Windows(Where you download the Arduino IDE, the folder is in )
Now is all ready, JUST:
Open your Arduino IDE Go to SKETCH → IMPORT LIBRARY → DC2Wheels
See at wheel_controller.pde Example
See advanced at adv_wheel_controller.pde Example
Implement debug mode
DC2Wheels by AJ Alves is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Based on a work at github.com and page DC2wheels-para-robos-de-duas-rodas. Permissions beyond the scope of this license may be available at http://github.com/zerokol.