|
roo_blink
API Documentation for roo_blink
|
They say that Arduino is only good for blinking LEDs.
Well, that might not be entirely true. But if you do blink LEDs, do it like a pro!
This library makes it easy to implement LED signaling. It works with monochrome LEDs as well as RGB LEDs. You can use simple blinking patterns, or customize them. And it is not just on/off. Monochrome LEDs can be faded in or out. For RGB LEDs, you can define patterns that smoothly transition through colors.
Importantly, all this is handled asynchronously (fire and forget), so that you can focus on your business logic and need not worry about updating LED state.
The following is a simple complete example that produces a nicely-looking blinking pattern for the built-in LED (on ESP32):