Loading [MathJax]/extensions/tex2jax.js
SensESP 3.1.0
Universal Signal K sensor toolkit ESP32
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sensesp::RGBSystemStatusLed Class Reference

#include <sensesp/system/system_status_led.h>

Inheritance diagram for sensesp::RGBSystemStatusLed:
[legend]

Public Member Functions

 RGBSystemStatusLed (uint8_t pin, uint8_t brightness=40)
 
- Public Member Functions inherited from sensesp::BaseSystemStatusLed
 BaseSystemStatusLed ()
 
ValueConsumer< SystemStatus > & get_system_status_consumer ()
 
ValueConsumer< int > & get_delta_tx_count_consumer ()
 

Protected Member Functions

void show () override
 
void set_brightness (uint8_t brightness) override
 
- Protected Member Functions inherited from sensesp::BaseSystemStatusLed
virtual void set_wifi_no_ap ()
 
virtual void set_wifi_disconnected ()
 
virtual void set_ws_disconnected ()
 
virtual void set_ws_authorizing ()
 
virtual void set_ws_connecting ()
 
virtual void set_ws_connected ()
 

Protected Attributes

uint8_t pin_
 
uint8_t brightness_
 
- Protected Attributes inherited from sensesp::BaseSystemStatusLed
CRGB leds_ [1] = {CRGB::Black}
 
std::unique_ptr< LEDBlinkerblinker_
 

Additional Inherited Members

- Public Attributes inherited from sensesp::BaseSystemStatusLed
LambdaConsumer< SystemStatussystem_status_consumer_
 

Detailed Description

Definition at line 149 of file system_status_led.h.

Constructor & Destructor Documentation

◆ RGBSystemStatusLed()

sensesp::RGBSystemStatusLed::RGBSystemStatusLed ( uint8_t pin,
uint8_t brightness = 40 )
inline

Definition at line 151 of file system_status_led.h.

Member Function Documentation

◆ set_brightness()

void sensesp::RGBSystemStatusLed::set_brightness ( uint8_t brightness)
inlineoverrideprotectedvirtual

Implements sensesp::BaseSystemStatusLed.

Definition at line 162 of file system_status_led.h.

◆ show()

void sensesp::RGBSystemStatusLed::show ( )
inlineoverrideprotectedvirtual

Implements sensesp::BaseSystemStatusLed.

Definition at line 157 of file system_status_led.h.

Member Data Documentation

◆ brightness_

uint8_t sensesp::RGBSystemStatusLed::brightness_
protected

Definition at line 156 of file system_status_led.h.

◆ pin_

uint8_t sensesp::RGBSystemStatusLed::pin_
protected

Definition at line 155 of file system_status_led.h.


The documentation for this class was generated from the following file: