Skip to main content

status_led/
lib.rs

1#![no_std]
2#![doc = "Monochrome status LED abstraction for the embassy ecosystem.\n\nProvides polarity via [`PolarityMode`], optional PWM brightness with\ngamma correction."]
3
4mod led;
5
6#[cfg(feature = "pwm")]
7pub mod pwm;
8
9pub use led::{Led, PolarityMode};
10
11#[cfg(feature = "pwm")]
12pub use pwm::{GammaCorrection, GammaMap, PwmLed};