Skip to content

led-bridge: add ESP32 indicator firmware for reference#17

Merged
Julie Krasnick (jckras) merged 1 commit into
mainfrom
led-bridge-firmware-reference
Jun 24, 2026
Merged

led-bridge: add ESP32 indicator firmware for reference#17
Julie Krasnick (jckras) merged 1 commit into
mainfrom
led-bridge-firmware-reference

Conversation

@jckras

Copy link
Copy Markdown
Contributor

What

Adds the Arduino sketch that runs on the ESP32 LED indicator as a reference file at resources/led-bridge/firmware/led-indicator.ino.

Why

led-bridge.go is the host-side half that drives the indicator over USB serial; this is the firmware half that receives those updates and renders the LEDs. Keeping both in the repo makes the serial contract reviewable in one place.

Notes

  • Reference only — this file is not built, flashed, or used by the repo at runtime.
  • Kept as .ino so GitHub highlights it and it opens directly in the Arduino IDE.
  • Header comment documents the wiring (GPIO 18, 80 NeoPixels, 115200 baud) and the {"state":"..."} serial protocol the firmware substring-matches against (mirrors actionForState in led-bridge.go).
  • No logic changed from the original sketch; only leading indentation was normalized and the header added.

🤖 Generated with Claude Code

Stores the Arduino sketch that runs on the ESP32 LED indicator alongside
the host-side led-bridge.go that drives it. Reference only — not built or
flashed by this repo. Header documents the wiring and the {"state":"..."}
serial protocol the firmware matches against.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's mention this example Arduino firmware file in the readme

@jckras
Julie Krasnick (jckras) merged commit c7e6064 into main Jun 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants