Handle the indicator brightness.
More...
|
|
void | set_brightness_level (const uint8_t level) |
| | Set the brightness of the RGB indicator. Indicator level can be 0 : indicator and alerts displayed as 100% brightness 1 : indicator off, alerts displayed as 25% brightness 2 : indicator and alerts displayed as 25% brightness.
|
| |
|
uint8_t | get_brightness_level () |
| | Get the brightness of the RGB indicator. Indicator level can be 0 : indicator and alerts displayed as 100% brightness 1 : indicator off, alerts displayed as 25% brightness 2 : indicator and alerts displayed as 25% brightness.
|
| |
|
bool | should_indicator_be_visible () |
| | indicates if the indicator should be visible or not
|
| |
|
|
static uint8_t | _level = 0 |
| | Internal indicator brightness level (1-3)
|
| |
|
static uint32_t | levelUpdateTime = 0 |
| |
Handle the indicator brightness.