#include <WS2812FX.h> #define LED_COUNT {{ledCount}} #define LED_PIN {{ledPin}} #define LED_BRIGHTNESS {{ledBrightness}} #define LED_SPEED {{ledSpeed}} #define LED_MODE {{ledMode}} WS2812FX ws2812fx = WS2812FX(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800); void setup() { ws2812fx.init(); ws2812fx.setBrightness(LED_BRIGHTNESS); ws2812fx.setSpeed(LED_SPEED); ws2812fx.setMode(LED_MODE); ws2812fx.start(); } void loop() { ws2812fx.service(); }