Skip to main content

Module led

Module led 

Source
Expand description

LED ring renderer: spatial patterns + temporal modifiers.

Design: the SK6812 LEDs handle brightness natively via RGB values. The renderer produces a 12-pixel frame, then the modifier attenuates it per tick.

Structs§

LedRing
Stateful ring that tracks animation state.
Rgb
RGB color (matches smart_leds::RGB8 layout).
RingAnimation
Complete ring animation state.

Enums§

Modifier
Temporal modifier — how rendered pixels change over time.
Renderer
Spatial pattern — which LEDs are lit and what color.

Constants§

LEDS_PER_RING

Type Aliases§

RingFrame