Skip to content

Conversation

@veerwang
Copy link
Contributor

No description provided.

hongquanli added a commit that referenced this pull request Dec 30, 2025
- Change LASER_INTERLOCK pin from 1 to 2
- Remove pins 1 and 2 from digital output pins array (now reserved for interlock)
- Add safety check in main loop to disable all lasers when interlock is HIGH

This ensures all lasers (405nm, 488nm, 561nm, 638nm, 730nm) are immediately
turned off when the interlock signal is triggered.

Ports changes from #370

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@hongquanli hongquanli closed this Dec 30, 2025
hongquanli added a commit that referenced this pull request Dec 30, 2025
## Summary
- Change `LASER_INTERLOCK` pin from 1 to 2
- Remove pins 1 and 2 from digital output pins array (now reserved for
interlock)
- Add safety check in main loop to disable all lasers when interlock is
HIGH

This ensures all lasers (405nm, 488nm, 561nm, 638nm, 730nm) are
immediately turned off when the interlock signal is triggered, improving
laser safety.

Ports changes from #370 to the refactored firmware structure.

## Test plan
- [ ] Verify firmware compiles successfully
- [ ] Test interlock signal HIGH disables all lasers
- [ ] Test normal laser operation when interlock is LOW

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <[email protected]>
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