SensESP 3.2.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
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 143 of file system_status_led.h.

Constructor & Destructor Documentation

◆ RGBSystemStatusLed()

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

Definition at line 145 of file system_status_led.h.

Here is the call graph for this function:

Member Function Documentation

◆ set_brightness()

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

Implements sensesp::BaseSystemStatusLed.

Definition at line 158 of file system_status_led.h.

◆ show()

void sensesp::RGBSystemStatusLed::show ( )
inlineoverrideprotectedvirtual

Implements sensesp::BaseSystemStatusLed.

Definition at line 151 of file system_status_led.h.

Here is the call graph for this function:

Member Data Documentation

◆ brightness_

uint8_t sensesp::RGBSystemStatusLed::brightness_
protected

Definition at line 150 of file system_status_led.h.

◆ pin_

uint8_t sensesp::RGBSystemStatusLed::pin_
protected

Definition at line 149 of file system_status_led.h.


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