API Documentation

Welcome to the main BrickNil API


bricknil Utility functions to attach sensors/motors and start the whole event loop
const Useful constants for BrickNil
process Super-class of all the Tasks in the event-loop
hub Hub processes for the Boost Move and PoweredUp hubs
ble_queue Singleton interface to the Adafruit Bluetooth library
message_dispatch Parse incoming BLE Lego messages from hubs
messages Message parsers for each message type
sensor.peripheral Base class for all sensors and motors
sensor.motor All motor related peripherals including base motor classes
sensor.sensor Actual sensor and motor peripheral definitions from Boost and PoweredUp
sensor.light All LED/light output devices
sensor.sound All sound related output devices
sockets Experimental socket updates of devices and hubs