Clean Up calls to the leds driver

This commit is contained in:
2025-03-26 18:39:35 -05:00
parent 7cdddb2c83
commit dc0efa74eb
6 changed files with 108 additions and 91 deletions
-7
View File
@@ -43,10 +43,3 @@ void leds_clear()
{
led_strip_clear(leds);
}
void example_leds() {
for (int i = 0; i < LED_COUNT; i++) {
ESP_ERROR_CHECK(led_strip_set_pixel(leds, i, i, LED_COUNT-i, 0));
}
ESP_ERROR_CHECK(led_strip_refresh(leds));
}