mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-07 18:43:36 +02:00
Added PHY options to control the brigthness of the LED and its dimming.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -31,6 +31,9 @@ extern void led_driver_color(uint8_t, uint32_t, float);
|
||||
|
||||
static uint32_t led_mode = MODE_NOT_MOUNTED;
|
||||
|
||||
uint32_t led_phy_btness = MAX_BTNESS;
|
||||
bool led_dimmable = false;
|
||||
|
||||
void led_set_mode(uint32_t mode) {
|
||||
led_mode = mode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user