Hack-E-Bot libraries for the Arduino IDE are almost done.
These libraries make it easier to control the robots moment and sensors… well only one sensor at the moment.
This also includes example files for using the moment library as well as the Sonar sensor. The code is rather basic so that it should work with almost any Arduino or clone.
Please give it a try to let me know what you think.