Fix LED change, fix chasing animation change
strip.begin(); // INITIALIZE NeoPixel strip object (REQUIRED)
strip.show(); // Turn OFF all pixels ASAP
strip.setBrightness(25); // Set BRIGHTNESS to about 1/5 (max = 255)
strip.begin(); // INITIALIZE NeoPixel strip object (REQUIRED)
strip.show(); // Turn OFF all pixels ASAP
strip.setBrightness(25); // Set BRIGHTNESS to about 1/5 (max = 255)
digitalWrite(loadPin, 0);
shiftOut(dataPin, clockPin, LSBFIRST, 0b000000000000000000000000000000000000000000000000);
digitalWrite(loadPin, 1);
digitalWrite(loadPin, 0);
shiftOut(dataPin, clockPin, LSBFIRST, 0b000000000000000000000000000000000000000000000000);
digitalWrite(loadPin, 1);
chase();
while (Seconds<60) {
chase();
while (Seconds<60) {
unsigned int pause = 1000;
strip.setPixelColor(0, hsl(HColor, saturation, lightness));
unsigned int pause = 1000;
strip.setPixelColor(0, hsl(HColor, saturation, lightness));
strip.setPixelColor(1, hsl(HColor, saturation, lightness));
strip.setPixelColor(1, hsl(HColor, saturation, lightness));
strip.setPixelColor(2, hsl(MColor, saturation, lightness));
strip.setPixelColor(2, hsl(MColor, saturation, lightness));
strip.setPixelColor(3, hsl(MColor, saturation, lightness));
strip.setPixelColor(3, hsl(MColor, saturation, lightness));
strip.setPixelColor(4, hsl(SColor, saturation, lightness));
strip.setPixelColor(4, hsl(SColor, saturation, lightness));
strip.setPixelColor(5, hsl(SColor, saturation, lightness));
strip.setPixelColor(5, hsl(SColor, saturation, lightness));
HColor = (HColor + 1) % 360;
MColor = (MColor + 1) % 360;
HColor = (HColor + 1) % 360;
MColor = (MColor + 1) % 360;