package mindstorm-lwt

  1. Overview
  2. Docs
Drive Lego Mindstorms bricks from OCaml (LWT version)

Install

Dune Dependency

Authors

Maintainers

Sources

mindstorm-0.8.tbz
sha256=d49ceac35f45e7daa2f733cd2a58c86f1cde9a5b062d5828440230fd11187a16
md5=f6763a1883455ce615fdc12cb6bf3ef7

Description

This library allows you to communicate with your Lego Mindstorms brick via bluetooth, enable the motors and retrieve data from various sensors.

README

README.md

Mindstorm

Installation

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

Usage

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

Xcode.

Documentation

You can compile the HTML doc with

make doc

and then point your browser to _build/default/_doc/index.html. Alternatively, you can read it online.

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.