Loading [MathJax]/jax/output/HTML-CSS/config.js
SensESP 3.1.0
Universal Signal K sensor toolkit ESP32
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
led_blinker.h File Reference
#include <Arduino.h>
#include <ReactESP.h>
#include "crgb.h"
#include "sensesp/signalk/signalk_ws_client.h"
Include dependency graph for led_blinker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sensesp::BaseBlinker
 A base class for LED blinker classes. More...
 
class  sensesp::LEDPatternFragment
 
class  sensesp::LEDPattern
 
class  sensesp::LEDBlinker
 Blink the LED with a pattern specified by a vector of callback functions. More...
 

Namespaces

namespace  sensesp
 

Macros

#define max(a, b)
 
#define PATTERN_END   (-1)
 

Typedefs

using sensesp::FragmentCallback = std::function<void(uint32_t, CRGB&)>
 

Functions

LEDPatternFragment sensesp::frag_solid_color (uint32_t duration_ms, const CRGB &color)
 
LEDPatternFragment sensesp::frag_linear_fade (uint32_t duration_ms, uint32_t fade_duration_ms, const CRGB &target_color)
 
LEDPatternFragment sensesp::frag_linear_invert (uint32_t duration_ms, bool reverse)
 
LEDPatternFragment sensesp::frag_blend (uint32_t duration_ms, const CRGB &target_color, bool reverse)
 
LEDPatternFragment sensesp::frag_nop (uint32_t duration_ms)
 

Macro Definition Documentation

◆ max

#define max ( a,
b )
Value:
((a) > (b) ? (a) : (b))

Definition at line 12 of file led_blinker.h.

◆ PATTERN_END

#define PATTERN_END   (-1)

Definition at line 13 of file led_blinker.h.