Change color to orange

This commit is contained in:
C0d3v 2026-01-18 13:42:05 +01:00
parent 5c0c1e5672
commit 210f70a946

View File

@ -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++;