Skip to main content

Module led

Module led 

Source
Available on target_os=none only.
Expand description

A device abstraction for a single digital LED with animation support.

This module provides a simple interface for controlling a single GPIO-connected LED with support for on/off control and animated blinking sequences.

See Led for the primary example and usage.

Structs§

Led
A device abstraction for a single digital LED with animation support.
LedStatic
Static resources for the Led device.

Enums§

OnLevel
What pin level turns the LED on (depends on wiring).