Add brightness to the LED mode.

This commit is contained in:
Benoît Allard
2024-09-25 23:20:48 +02:00
parent 7a0b67f3cb
commit 01d1856fcc
7 changed files with 52 additions and 26 deletions

View File

@@ -25,7 +25,7 @@ void led_driver_init() {
cyw43_arch_init();
}
void led_driver_color(uint8_t color) {
void led_driver_color(uint8_t color, float brightness) {
cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, color != LED_COLOR_OFF);
}