#include <ELClientWebServer.h>Go to the source code of this file.
Macros | |
| #define | LED_PIN 13 |
| #define | MAX_LOGS 5 |
Enumerations | |
| enum | LogMessage { LOG_DUTY_25_75 = 0xE1 , LOG_DUTY_50_50 , LOG_DUTY_75_25 , LOG_SET_LED_ON = 0xF0 , LOG_SET_LED_BLINKING , LOG_SET_LED_OFF } |
Functions | |
| void | ledLoop () |
| void | ledAddLog (uint8_t msg) |
| String | ledHistoryToLog () |
| void | ledButtonPressCb (const char *button) |
| void | ledSetFieldCb (const char *field) |
| void | ledRefreshCb (const char *url) |
| void | ledLoadCb (const char *url) |
| void | ledInit () |
Variables | |
| int8_t | blinking = 0 |
| uint8_t | blinking_duty = 2 |
| int8_t | blinking_frequency = 10 |
| uint32_t | blinking_next_ts = 0 |
| uint16_t | blinking_phase = 100 |
| uint16_t | blinking_period = 200 |
| uint32_t | log_ts [MAX_LOGS] |
| uint8_t | log_msg [MAX_LOGS] |
| uint8_t | log_ptr = 0 |
| #define LED_PIN 13 |
Definition at line 4 of file LedPage.ino.
| #define MAX_LOGS 5 |
Definition at line 14 of file LedPage.ino.
| enum LogMessage |
| Enumerator | |
|---|---|
| LOG_DUTY_25_75 | |
| LOG_DUTY_50_50 | |
| LOG_DUTY_75_25 | |
| LOG_SET_LED_ON | |
| LOG_SET_LED_BLINKING | |
| LOG_SET_LED_OFF | |
Definition at line 19 of file LedPage.ino.
| void ledAddLog | ( | uint8_t | msg | ) |
| void ledButtonPressCb | ( | const char * | button | ) |
Definition at line 110 of file LedPage.ino.


| String ledHistoryToLog | ( | ) |
| void ledInit | ( | ) |
Definition at line 215 of file LedPage.ino.


| void ledLoadCb | ( | const char * | url | ) |
Definition at line 194 of file LedPage.ino.


| void ledLoop | ( | ) |
| void ledRefreshCb | ( | const char * | url | ) |
Definition at line 182 of file LedPage.ino.


| void ledSetFieldCb | ( | const char * | field | ) |
Definition at line 141 of file LedPage.ino.


| int8_t blinking = 0 |
Definition at line 6 of file LedPage.ino.
| uint8_t blinking_duty = 2 |
Definition at line 7 of file LedPage.ino.
| int8_t blinking_frequency = 10 |
Definition at line 8 of file LedPage.ino.
| uint32_t blinking_next_ts = 0 |
Definition at line 10 of file LedPage.ino.
| uint16_t blinking_period = 200 |
Definition at line 12 of file LedPage.ino.
| uint16_t blinking_phase = 100 |
Definition at line 11 of file LedPage.ino.
| uint8_t log_msg[MAX_LOGS] |
Definition at line 16 of file LedPage.ino.
| uint8_t log_ptr = 0 |
Definition at line 17 of file LedPage.ino.
| uint32_t log_ts[MAX_LOGS] |
Definition at line 15 of file LedPage.ino.