Skip to main content

Crate strand_led_box_comms

Crate strand_led_box_comms 

Source
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§

ChannelState
State of a single LED channel.
DeviceState
Complete state of the LED box device with all four channels.

Enums§

FromDevice
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.