Consumes the networking and websocket states and delta counts and updates the device LED accordingly. Inherit this class and override the methods to customize the behavior.
More...
#include <sensesp/system/system_status_led.h>
Consumes the networking and websocket states and delta counts and updates the device LED accordingly. Inherit this class and override the methods to customize the behavior.
Definition at line 15 of file system_status_led.h.
◆ SystemStatusLed()
sensesp::SystemStatusLed::SystemStatusLed |
( |
int |
pin | ) |
|
◆ set_input() [1/2]
void sensesp::SystemStatusLed::set_input |
( |
int |
new_value, |
|
|
uint8_t |
input_channel = 0 |
|
) |
| |
|
overridevirtual |
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
- Parameters
-
new_value | the value of the input |
input_channel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from sensesp::ValueConsumer< int >.
Definition at line 85 of file system_status_led.cpp.
◆ set_input() [2/2]
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
- Parameters
-
new_value | the value of the input |
input_channel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from sensesp::ValueConsumer< SystemStatus >.
Definition at line 59 of file system_status_led.cpp.
◆ set_wifi_disconnected()
void sensesp::SystemStatusLed::set_wifi_disconnected |
( |
| ) |
|
|
protectedvirtual |
◆ set_wifi_no_ap()
void sensesp::SystemStatusLed::set_wifi_no_ap |
( |
| ) |
|
|
protectedvirtual |
◆ set_wifimanager_activated()
void sensesp::SystemStatusLed::set_wifimanager_activated |
( |
| ) |
|
|
protectedvirtual |
◆ set_ws_authorizing()
void sensesp::SystemStatusLed::set_ws_authorizing |
( |
| ) |
|
|
protectedvirtual |
◆ set_ws_connected()
void sensesp::SystemStatusLed::set_ws_connected |
( |
| ) |
|
|
protectedvirtual |
◆ set_ws_connecting()
void sensesp::SystemStatusLed::set_ws_connecting |
( |
| ) |
|
|
protectedvirtual |
◆ set_ws_disconnected()
void sensesp::SystemStatusLed::set_ws_disconnected |
( |
| ) |
|
|
protectedvirtual |
◆ blinker_
The documentation for this class was generated from the following files: