Change color to orange
This commit is contained in:
parent
5c0c1e5672
commit
210f70a946
@ -64,17 +64,16 @@ void winAnimation() {
|
|||||||
strip.show();
|
strip.show();
|
||||||
delay(250);
|
delay(250);
|
||||||
|
|
||||||
uint8_t w = 50;
|
|
||||||
for (int i = 0; i < NUM_LEDS; i++) {
|
for (int i = 0; i < NUM_LEDS; i++) {
|
||||||
strip.setPixelColor(
|
strip.setPixelColor(
|
||||||
ledIndex(i),
|
ledIndex(i),
|
||||||
strip.Color(0, 0, w)
|
strip.Color(25, 25, 0)
|
||||||
);
|
);
|
||||||
strip.show();
|
strip.show();
|
||||||
delay(20);
|
delay(20);
|
||||||
}
|
}
|
||||||
|
|
||||||
setAll(strip.Color(0, 0, w));
|
setAll(strip.Color(25, 25, 0));
|
||||||
strip.show();
|
strip.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,7 +81,7 @@ void checkPress(int buttonID) {
|
|||||||
if (buttonID == sequence[currentStep]) {
|
if (buttonID == sequence[currentStep]) {
|
||||||
strip.setPixelColor(
|
strip.setPixelColor(
|
||||||
ledIndex(currentStep),
|
ledIndex(currentStep),
|
||||||
strip.Color(0, 0, 40)
|
strip.Color(25, 25, 0)
|
||||||
);
|
);
|
||||||
strip.show();
|
strip.show();
|
||||||
currentStep++;
|
currentStep++;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user