status-led 0.4.0

no_std monochrome status LED abstraction with optional PWM gamma correction.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![no_std]
#![doc = "Monochrome status LED abstraction for the embassy ecosystem.\n\nProvides polarity via [`PolarityMode`], optional PWM brightness with\ngamma correction."]

mod led;

#[cfg(feature = "pwm")]
pub mod pwm;

pub use led::{Led, PolarityMode};

#[cfg(feature = "pwm")]
pub use pwm::{GammaCorrection, PwmLed};