Classes | |
struct | Bug |
RAII wrapper for bug LED. More... | |
Functions | |
void | bug (bool on) |
Turn bug LED on or off. | |
esp_err_t | init () |
Initialize LED. | |
void | wifi (bool on) |
Turn WiFi LED on or off. | |
Variables | |
constexpr auto | bug_gpio_num {GPIO_NUM_48} |
Bug LED pin used to indicate errors or updates. | |
constexpr auto | bug_channel {LEDC_CHANNEL_0} |
Bug LED channel. | |
constexpr auto | wifi_gpio_num {GPIO_NUM_47} |
WiFi LED used to indicate WiFi connection status. | |
constexpr auto | wifi_channel {LEDC_CHANNEL_1} |
WiFi LED channel. | |
void drv::led::bug | ( | bool | on | ) |
on | LED state |
esp_err_t drv::led::init | ( | ) |
void drv::led::wifi | ( | bool | on | ) |
on | LED state |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |