Breath LED that turn on/off or loop the brightness smoothly.
Dependents: BreathLed-demo EPD_GDE021A1_demo mbed_esp8266_demo NUCLEO_uart_flow_control
This breathing-led uses Ticker and PWM which consumes few CPU, and most important, you can use it to tell system hang.
Just init it with a PWM pin which connected to a LED.
Files at revision 0:13c83a6b336f
Name | Size | Actions |
---|---|---|
[up] | ||
BreathLed.cpp | 1900 | Revisions Annotate |
BreathLed.h | 1261 | Revisions Annotate |