#include <EasyNeoPixels.h>
void setup() {
setupEasyNeoPixels(9, 16);
}
void loop() {
// put your main code here, to run repeatedly:
for (int x=16; x>=0; x--)
{
writeEasyNeoPixel(x, 255, 0, 0);
delay(30);
writeEasyNeoPixel(x,LOW);
}
for (int x=16; x>=0; x--)
{
writeEasyNeoPixel(x, 255, 0, 255);
delay(30);
writeEasyNeoPixel(x,LOW);
}
for (int x=16; x>=0; x--)
{
writeEasyNeoPixel(x, 0, 0, 255);
delay(30);
writeEasyNeoPixel(x,LOW);
}
for (int x=16; x>=0; x--)
{
writeEasyNeoPixel(x, 0,255,255);
delay(30);
writeEasyNeoPixel(x,LOW);
}
for (int x=16; x>=0; x--)
{
writeEasyNeoPixel(x, 0,255, 0);
delay(30);
writeEasyNeoPixel(x,LOW);
}
for (int x=16; x>=0; x--)
{
writeEasyNeoPixel(x, 255, 255, 0);
delay(30);
writeEasyNeoPixel(x,LOW);
}
}