Skip to content

MiPChestLED

github-actions[bot] edited this page Aug 10, 2026 · 8 revisions

Class MiPChestLED

Chest LED color and flash timing configuration.

Detailed Description

Encapsulates the 8-bit RGB color intensities (Red, Green, Blue) and flash timing intervals (onTime and offTime in milliseconds) for MiP's chest LED.

Table of Contents


Constructors & Destructors

MiPChestLED

Signature: MiPChestLED()

Summary: Constructs a new MiPChestLED configuration object.

Details:

Automatically calls clear() to set all color intensity values and flash timing durations to zero (LED off).


Public Functions

clear

Signature: void clear()

Summary: Resets all RGB channel intensities and flash timing durations to zero.

Details:

Sets red, green, blue, onTime, and offTime variables back to 0.


Public Variables

onTime

Signature: uint16_t onTime

Summary: Duration in milliseconds the chest LED remains illuminated during flashing.


offTime

Signature: uint16_t offTime

Summary: Duration in milliseconds the chest LED remains extinguished during flashing.


red

Signature: uint8_t red

Summary: Red channel intensity (0-255).


green

Signature: uint8_t green

Summary: Green channel intensity (0-255).


blue

Signature: uint8_t blue

Summary: Blue channel intensity (0-255; hardware truncates lower 2 bits).


Clone this wiki locally