#include<Adafruit_NeoPixel.h>
#define pin 6
Adafruit_NeoPixel strip_0 = Adafruit_NeoPixel(48,pin,NEO_GRB+NEO_KHZ800);
void setup() {
strip_0.begin();
strip_0.show();
}
void loop() {
color_wipe(strip_0.Color(150,100,150),100);
}
void color_wipe(uint32_t c, uint8_t wait) {
for(int i=0;i<strip_0.numPixels();i++)
{
strip_0.setPixelColor(i,c);
strip_0.show();
delay(wait);
}
}