package mindstorm-lwt
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=a8df331c4efffe3811b0410898a239c8744050ceb3c771052b79f794f1f6283f
sha512=f7b065279b76d0b3ba8d713332c8cac8328f2119baaac4c6278803a194faa923d3931b14d01c8097c689076dd9b4af2689ea53d1bca333409b6c5d3909eb0eb9
Description
This library allows you to communicate with your Lego Mindstorms brick via bluetooth, enable the motors and retrieve data from various sensors.
README
Mindstorm
Installation
The easier way to install this library is by using OPAM:
opam install mindstormfor the standard version and
opam install mindstorm-lwtfor 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-lwtUsage
Two modules are available: Mindstorm and Mindstorm_lwt with essentially the same signatures, except that the second one—as its name indicates—is to be used with Lwt.
Prerequisite under Unix
You need the package libbluetooth-dev (under Debian) or equivalent. For the USB connection, you must install the package libusb-1.0-0-dev (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.
Documentation
You can compile the HTML doc with
make docand then point your browser to _build/default/_doc/index.html. Alternatively, you can read it online.
Dependencies (9)
- base-unix
- base-bytes
-
cppo
build & >= "1.3.0" - dune-configurator
- dune
- lwt
- base-threads
-
mindstorm
= version -
ocaml
>= "4.04.1"
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building mindstorm-lwt with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.8.1 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure