package mindstorm

  1. Overview
  2. Docs
type 'a t
val make : 'a conn -> port -> 'a t
val set : ?check_status:bool -> 'a t -> [ `Event | `Meas | `Meas_cont | `Meas_interval of int | `Off | `Reset | `Scale_div of int | `Scale_mul of int | `Zero of int ] -> unit
val get : 'a t -> [ `Byte0 | `Byte1 | `Byte2 | `Byte3 | `Byte4 | `Byte5 | `Byte6 | `Byte7 | `Meas_interval | `Scale_div | `Scale_mul | `Zero ] -> int
val get_state : 'a t -> [ `Event | `Meas | `Meas_cont | `Off | `Reset ]
OCaml

Innovation. Community. Security.