#include #include #include "led_info.h" int main() { printf("Clearing LED lights...\n"); ws2811_return_t ret; if ((ret = ws2811_init(&ledstring)) != WS2811_SUCCESS) { printf("Error initilizing ws8211 strip: %s\n", ws2811_get_return_t_str(ret)); return 1; } for(int i = 0; i < LED_COUNT; i++) { ledstring.channel[0].leds[i] = 0; } ws2811_render(&ledstring); ws2811_fini(&ledstring); return 0; }