Clean Up calls to the leds driver
This commit is contained in:
@@ -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));
|
||||
}
|
||||
Reference in New Issue
Block a user