5 #include "simpletools.h" 8 #define LED_PIN 13 // led chain pin and count 13 int lightsA[] = { COLOR_RED, COLOR_YELLOW,
14 COLOR_GREEN, COLOR_BLUE };
15 int lightsB[] = { COLOR_YELLOW, COLOR_RED,
16 COLOR_BLUE, COLOR_GREEN };
30 ws2812_set(leds, LED_PIN,
35 ws2812_set(leds, LED_PIN,
ws2812_t * ws2812b_open(void)
Open a driver for WS2812B chips.