// #include <ESP32Servo.h>
#include <Adafruit_NeoPixel.h>
const int ledPin = 15;
const int numLEDs = 7*10;
Adafruit_NeoPixel strip = Adafruit_NeoPixel(numLEDs, ledPin, NEO_GRB + NEO_KHZ800);
void setup() {
// put your setup code here, to run once:
// Serial.begin(115200);
// Serial.println("NUMLED -> " + numLEDs);
strip.begin();
strip.show();
}
void loop() {
colorWipe(strip.Color(255, 0, 0));
delay(200);
colorWipe(strip.Color(0, 255, 0));
}
void colorWipe(uint32_t c){
for(uint16_t i = 0; i<strip.numPixels(); i++){
strip.setPixelColor(i, c);
strip.show();
// delay(t);
}
strip.show();
}