This project holds the Arduino library of the YM4 Mobile Robot platform.
What is YM4?
The YM4 is a mobile robot platform designed for robot amateurs and now is at its 4th generation. The YM4 is a cube with a size of 7.5cm * 7.5cm * 7.5 cm, which is the standard of the FIRA robot football competition. The robot uses a Arduino-compatiable microcontroller, the AVR(R) ATMega 328, and it can be programmed with the Arduino IDE.
How to install the library?
Download all the project files and extract the folder into $(Arduino_dir)\libraries, where Arduino_dir is the directory where your Arduino is installed.
How to use the library?
The examples of the usage are included in the library. Once installed the library, you can find them in the Arduino IDE from File->Examples->YM4_Arduino.
More about YM4 and this library
More information of the YM4 and the library could be found on my blog: http://www.yfworld.com.
v0.1.4, April 22, 2015: converted the code from c++ into c
v0.1.3, April 21, 2015: tested on the real hardware and corrected some compile errors
v0.1.2b, April 21, 2015: added experimental code of closed-loop speed control
v0.1.2a, April 17, 2015: changed the comment style to support doxygen
v0.1.1b, April 16, 2015: added the code to obtain the motor speed
v0.1.1, April 15, 2015: optimized the speed control code
v0.1, March 22, 2015: init commit of the code