Expand description
Communication protocol types for the Strand Camera LED Box device.
This crate provides the data structures and constants for communicating with the Strand LED Box hardware device over serial communication.
§Features
std: Enables standard library support (default)print-defmt: Enables defmt formatting for embedded debugging
Structs§
- Channel
State - State of a single LED channel.
- Device
State - Complete state of the LED box device with all four channels.
Enums§
- From
Device - Messages received from the LED box device.
- OnState
- LED channel on/off state.
- ToDevice
- Messages sent to the LED box device.
Constants§
- BAUD_
RATE - Serial communication baud rate.
- COMM_
VERSION - Communication protocol version.
- MAX_
INTENSITY - Maximum intensity value for LED channels.