LED Setup
Number of LEDs
Fade delay
Slow
Fast
Faster
Tail speed
Slow
Fast
Faster
LEDs color
Red
Yellow
Green
Teal
Blue
Purple
LEDs brightness
High
Medium
Low
#include
#define LED_PIN 5 // digital pin used to drive the LED strip #define NUM_LEDS 30 // number of LEDs on the strip WS2812FX ws2812fx = WS2812FX(NUM_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800); void setup() { Serial.begin(115200); ws2812fx.init(); ws2812fx.setBrightness(128); // parameters: index, start, stop, mode, color, speed, reverse ws2812fx.setSegment(0, 0, 9, FX_MODE_BLINK, 0xFF0000, 1000, false); // segment 0 is leds 0 - 9 ws2812fx.start(); } void loop() { ws2812fx.service(); }