#include <Adafruit_NeoPixel.h> //Used for the LED strips
Adafruit_NeoPixel returns(1630, 3, NEO_GRB + NEO_KHZ800);
int count;
int inc = 256; // 128 / 256/ 512... smaller is smoother
int rate = 10;
unsigned long tick = 0;
void setup() {
returns.begin();
returns.show();
}
void loop() {
//returns.rainbow(count, 1, 255, 200, 1);
returns.rainbow(count);
returns.show();
if(tick < millis() + rate){
count += inc;
tick = millis() + rate;
}
}