#include <Arduino.h>
#include <vector>
#include "roo_blink/monochrome/led.h"
#include "roo_logging.h"
#include "roo_scheduler.h"
#include "roo_threads.h"
#include "roo_time.h"
Go to the source code of this file.
|
| constexpr Step | roo_blink::TurnOn () |
| | Creates a step that sets the LED to the maximum brightness instantly.
|
| |
| constexpr Step | roo_blink::TurnOff () |
| | Creates a step that sets the LED to completely off instantly.
|
| |
| constexpr Step | roo_blink::SetTo (uint16_t level) |
| | Creates a step that sets the LED to the specified brightness instantly.
|
| |
| constexpr Step | roo_blink::FadeTo (uint16_t level, roo_time::Duration duration) |
| | Creates a step that fades linearly to the target level over the duration.
|
| |
| constexpr Step | roo_blink::FadeOn (roo_time::Duration duration) |
| | Creates a step that fades linearly to the maximum brightness over duration.
|
| |
| constexpr Step | roo_blink::FadeOff (roo_time::Duration duration) |
| | Creates a step that fades linearly down to off over the duration.
|
| |
| constexpr Step | roo_blink::Hold (roo_time::Duration duration) |
| | Creates a step that maintains the current brightness for the duration.
|
| |
| BlinkSequence | roo_blink::Blink (roo_time::Duration period, 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.
|
| |