#include <FastLED.h>
#define NUM_STRIP_LEDS 16
#define DATA_STRIP_PIN 16
CRGB ledsStrip[NUM_STRIP_LEDS];
void setup() {
Serial.begin(115200);
Serial.println("Start ESP32");
FastLED.addLeds<NEOPIXEL, DATA_STRIP_PIN>(ledsStrip, NUM_STRIP_LEDS);
}
void loop() {
for (int i = 0; i<NUM_STRIP_LEDS;i++){
ledsStrip[i] = CRGB::Red;
FastLED.delay(50);
}
FastLED.clear();
}