Skip to content

Adds LED indicators for startup and capture#5

Merged
HeikkiRadu merged 1 commit into
mainfrom
firmware
May 19, 2026
Merged

Adds LED indicators for startup and capture#5
HeikkiRadu merged 1 commit into
mainfrom
firmware

Conversation

@HeikkiRadu

Copy link
Copy Markdown
Contributor

Introduces visual feedback for key system events:

  • Startup Confirmation: Displays a green blinking sequence on the NeoPixel upon device initialization.
  • Capture Confirmation: Shows a white blinking sequence when the KEY_ENTER button is pressed to confirm a photograph has been taken.

These indicators enhance user experience by providing clear visual cues for system status and actions. The implementation includes a new color_blink utility function and uses a sig_atomic_t flag for robust inter-thread communication between the button handling and LED animation threads. The README.md and internal code documentation have been updated to reflect these new features.

Implements visual feedback using the NeoPixel for key system events.

A green blink sequence confirms successful device startup, providing a clear initialization signal.

A white blink sequence is triggered when the capture button (`KEY_ENTER`) is pressed, signaling that a photo has been taken. This uses an atomic flag (`sig_atomic_t`) for safe inter-thread communication, ensuring responsiveness without disrupting ongoing animations.
@HeikkiRadu HeikkiRadu merged commit 4104e26 into main May 19, 2026
2 of 4 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.

1 participant