#include <Adafruit_NeoPixel.h>
Adafruit_NeoPixel strip(60, 2, NEO_GRB + NEO_KHZ800);
void setup()
{strip.begin();}
void loop()
{for(long firstPixelHue = 0; firstPixelHue < 3*65536; firstPixelHue += 256)
{
for(int i=0; i<strip.numPixels(); i++)
{
int pixelHue = firstPixelHue + (i * 65536L / strip.numPixels());
strip.setPixelColor(i, strip.gamma32(strip.ColorHSV(pixelHue)));
}
strip.show();
}
}
tiny:PB5
tiny:PB3
tiny:PB4
tiny:GND
tiny:PB0
tiny:PB1
tiny:PB2
tiny:VCC
ring1:GND
ring1:VCC
ring1:DIN
ring1:DOUT
ring2:GND
ring2:VCC
ring2:DIN
ring2:DOUT
ring3:GND
ring3:VCC
ring3:DIN
ring3:DOUT
ring4:GND
ring4:VCC
ring4:DIN
ring4:DOUT
ring5:GND
ring5:VCC
ring5:DIN
ring5:DOUT
neopixels:DOUT
neopixels:VDD
neopixels:VSS
neopixels:DIN
neopixels1:DOUT
neopixels1:VDD
neopixels1:VSS
neopixels1:DIN