LEGO Mindstorm® is a versatile robotic construction kit. The central component is the programmable NXT brick to which one can connect up to three motors and various sensors. The brick can run programs directly uploaded to it or can be controlled via bluethooth or USB.

This library allows you to communicate with — and drive — your NXT brick from OCaml programs through a bluetooth or a USB connection. The full LEGO® communication protocol (including all "direct commands") is supported. This library has been tested on Linux, Windows (without the fantom drivers installed) and Mac OSX.

If you have questions or If you want to report bugs, please do so on the bug tracker. If you are using this library, feel also free to drop us a line, we will be happy to set up a link to the site of your project in the users section!

This project is hosted on Github.

Have fun!