Clean Up calls to the leds driver

This commit is contained in:
2025-04-04 23:52:48 -05:00
committed by mitchell
parent 295b764d40
commit 43b01f0b2b
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));
}