Compare commits

...

2 Commits

Author SHA1 Message Date
b3322b169b Update reading powerState 2026-01-18 13:52:41 +01:00
dd9ced2962 Change color to orange 2026-01-18 13:51:29 +01:00
2 changed files with 5 additions and 4 deletions

View File

@ -220,7 +220,6 @@ void setup() {
pinMode(PIN_TRIGGER_SHUFFLE, INPUT);
pinMode(PIN_POWER_ON, INPUT);
powerOnState = digitalRead(PIN_POWER_ON) == HIGH;
pinMode(PIN_SEND_WIN, OUTPUT);
digitalWrite(PIN_SEND_WIN, LOW);
@ -231,6 +230,8 @@ void setup() {
pinMode(7, INPUT_PULLUP);
pinMode(8, INPUT_PULLUP);
powerOnState = digitalRead(PIN_POWER_ON) == HIGH;
for (uint8_t i = 0; i < 12; i++)
expander.write(i, HIGH);

View File

@ -67,13 +67,13 @@ void winAnimation() {
for (int i = 0; i < NUM_LEDS; i++) {
strip.setPixelColor(
ledIndex(i),
strip.Color(25, 25, 0)
strip.Color(35, 10, 0)
);
strip.show();
delay(20);
}
setAll(strip.Color(25, 25, 0));
setAll(strip.Color(35, 10, 0));
strip.show();
}
@ -81,7 +81,7 @@ void checkPress(int buttonID) {
if (buttonID == sequence[currentStep]) {
strip.setPixelColor(
ledIndex(currentStep),
strip.Color(25, 25, 0)
strip.Color(35, 10, 0)
);
strip.show();
currentStep++;