Initial implementation of HeisserDraht buzz wire game

ESP32-C3 based hot wire game with WS2812B LED effects,
SSD1306 OLED display, debounced touch detection, and
full game state machine (IDLE → COUNTDOWN → PLAYING → GAME_OVER).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-22 00:24:52 +01:00
commit 01e79a4eb2
9 changed files with 619 additions and 0 deletions

11
led_effects.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef LED_EFFECTS_H
#define LED_EFFECTS_H
#include <Arduino.h>
void ledsInit();
void ledsUpdate(); // Called every loop, dispatches based on game state
void ledsTouchFlash(); // Blocking 3x red blink (~300ms)
void ledsSetBrightness(uint8_t b);
#endif // LED_EFFECTS_H