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:
11
led_effects.h
Normal file
11
led_effects.h
Normal 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
|
||||
Reference in New Issue
Block a user