codal-microbit-v2

An API for interfacing with hardware elements of the micro:bit v2, as well as support for legacy elements from the original micro:bit’s DAL headers.

Version: d9b5ca1
Namespace: codal::*
Repository: lancaster-university/codal-microbit-v2

Classes

    MicroBit

    Represents the micro:bit v2 in its entirety. Allows for convenient access to device drivers to control the micro:bit’s various hardware elements.

    MicroBitAudio

    The audio API for micro:bit v2. Allows for multi-stream audio playback with a basic mixer, in addition to synthesiser support for small sound bytes.

    MicroBitBLEManager

    Bluetooth low energy stack manager for the micro:bit’s BLE. Must be enabled at compile to be included in CODAL builds.

    MicroBitCompassCalibrator

    A compass calibration class for CODAL’s compass abstraction on the micro:bit.

    MicroBitDisplay

    An abstraction layer over the micro:bit’s ‘display’ (LED matrix), allowing for string display and animated images.

    MicroBitI2C

    I2C protocol wrapper for the micro:bit. Allows for creating I2C channels over provided NRF52 pins.

    MicroBitIO

    Container for representations of all the micro:bit’s pins as NRF52 pin instances.

    MicroBitLog

    A simple logging API for the micro:bit, which enables generated results to be viewed easily from an external PC.

    MicroBitPowerManager

    Power management interface for the micro:bit. Holds information on power usage, as well as functions for working with deep sleep modes.

    MicroBitRadio

    A radio abstraction for the micro:bit. Contains functions for sending and receiving data over a set of radio bands, with buffering support.

    MicroBitThermometer

    A pseudo-thermometer for the micro:bit v2. Infers the ambient temperature based on the surface temperature readings of various chips on the micro:bit.

    MicroBitUSBFlashManager

    An abstraction for managing the micro:bit’s USB interface and corresponding flash.

    License & Attribution

    Licensing and attribution information for the ‘codal-microbit-v2’ documentation.