|
roo_blink
API Documentation for roo_blink
|
#include <Arduino.h>#include <vector>#include "roo_blink/rgb/led.h"#include "roo_logging.h"#include "roo_scheduler.h"#include "roo_time.h"Go to the source code of this file.
Data Structures | |
| class | roo_blink::RgbStep |
| Single step of an RGB blink sequence. More... | |
| class | roo_blink::RgbBlinkSequence |
| Sequence of steps for RGB blinking. More... | |
| class | roo_blink::RgbBlinker |
| Runs blink sequences on an RGB LED. More... | |
Namespaces | |
| namespace | roo_blink |
Functions | |
| constexpr RgbStep | roo_blink::RgbSetTo (Color color) |
| Creates a step that sets the LED to the specified color instantly. | |
| constexpr RgbStep | roo_blink::RgbTurnOff () |
| Creates a step that disables the LED. Equivalent to RgbSetTo(Color()). | |
| constexpr RgbStep | roo_blink::RgbFadeTo (Color color, roo_time::Duration duration) |
| Creates a step that fades to the target color over the duration. | |
| constexpr RgbStep | roo_blink::RgbFadeOff (roo_time::Duration duration) |
| Creates a step that fades the LED off over the duration. | |
| constexpr RgbStep | roo_blink::RgbHold (roo_time::Duration duration) |
| Creates a step that holds the current color for the duration. | |
| RgbBlinkSequence | roo_blink::RgbBlink (roo_time::Duration period, Color color, int duty_percent=50, int rampup_percent_on=0, int rampup_percent_off=0) |
| Creates a symmetric blink sequence with optional ramp-up/down segments. | |