Available on
target_os=none only.Expand description
A device abstraction for a 4-digit, 7-segment LED display for text with optional animation and blinking.
See Led4 for the primary text/blinking example and Led4::animate_text for the animation example.
This module provides device abstraction for controlling common-cathode 4-digit 7-segment LED displays. Supports displaying text and numbers with optional blinking.
Structs§
- Animation
Frame - Frame of animated text for
Led4::animate_text. See that method’s example for usage. - Led4
- A device abstraction for a 4-digit, 7-segment LED display with blinking support.
- Led4
Static - Static for the
Led4device. - Output
Array - Array of GPIO output pins for LED displays.
Enums§
- Blink
State - Blinking behavior for 4-digit LED displays.
Functions§
- circular_
outline_ animation - Creates a circular outline animation that chases around the edges of the display.