#include <Adafruit_NeoPixel.h>
Adafruit_NeoPixel strip = Adafruit_NeoPixel(16,2,NEO_GRB + NEO_KHZ800);
void setup() {
strip.begin();
}
void loop() {
static int c=10;
strip.Color(0,255,0);
for(int i=0;i<16;i++){
strip.setPixelColor(i,strip.Color(c,200,c-20));
strip.show();
delay(50);
strip.setPixelColor(i,strip.Color(0,0,0));
strip.show();
delay(10);
}
strip.show();
c+=50;
delay(50); // this speeds up the simulation
}