The easier way to install this library is by using OPAM:
opam install mindstorm
for the standard version and
opam install mindstorm-lwt
for the LWT one. If you prefer to compile and install by hand, make sure you have dune and the dependencies listed in src/dune and lwt/dune, then run
dune build @install dune install mindstorm dune install mindstorm-lwt
Two modules are available:
essentially the same signatures, except that the second one—as its
name indicates—is to be used with
Prerequisite under Unix
You need the package
libbluetooth-dev (under Debian) or equivalent.
For the USB connection, you must install the package
(its presence should be automatically detected).
Prerequisite under Windows
Do not install the LEGO® fantom drivers. (If you know how to make this library work with the LEGO® drivers installed, submit a patch!)
Prerequisite under Mac OS X
At the moment, the package is not compatible with OSX.
You can compile the HTML doc with
and then point your browser to
Alternatively, you can
read it online.