Crate rust_powered_lego

Source
Expand description

This crate aims to control Lego hub and its various peripherals with the Rust programming language.

ConnectionManager is the object to start with. Ask the CM for a Hub, with its name or address. Then, kindly ask the Hub to get a port of specific type (sorry, currently only the motor).

This crate is far from completion - more types and functionality will be added in the future.

Below are the main traits. More located at lego/mod.rs

Modules§

connection_manager
hub
lego
ports

Traits§

HubType
MotorType