First implementation with flashes for feedback

This commit is contained in:
Andreas committed 2026-04-13 16:42:49 +02:00
1 parent f5236476ed
commit bf27305563
2 files changed
+70 -44

No files matched your search

+3 -2
View File
@@ -51,8 +51,9 @@ All buttons wired with `INPUT_PULLUP`: connect each button between its pin and G
| Wrong | Blinks **red** | +1 section |
- You can change an answer at any time by pressing a different button in the same group.
- **Win condition**: all 4 correct answers selected → thermometer reaches 0 → rainbow win animation plays.
- **Win condition**: all 4 correct answers selected → thermometer reaches 0 → rainbow win animation plays → game automatically resets and starts over.
- Press the **reset button** (A1) at any time to reset all answers and return the thermometer to the midpoint.
- If no button is pressed for **5 minutes** (`INACTIVITY_TIMEOUT`), the game resets automatically.
---
@@ -182,4 +183,4 @@ FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
FastLED.setBrightness(84);
```
Note: the strip is WS2812 (not WS2812B) with `RGB` color order — this matches `test.ino`. If colors look wrong, try `GRB`.
Note: the strip is WS2812 (not WS2812B) with `GRB` color order.