Skip to content

Cephla: Added autofocus light source shutter. - #766

Merged
nicost merged 4 commits into
micro-manager:mainfrom
nicost:Cephla
Oct 15, 2025
Merged

nicost merged 4 commits into
micro-manager:mainfrom
nicost:Cephla

Conversation

@nicost

@nicost nicost commented Oct 15, 2025

Copy link
Copy Markdown
Member

Toggles IR light source successfully.

Toggles IR light source successfully.
@nicost
nicost requested a review from Copilot October 15, 2025 23:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for controlling an autofocus light source (IR laser) in the Cephla device adapter by implementing a new SquidAFShutter class. The implementation mirrors the existing SquidShutter pattern but controls a different hardware pin (MCU_PINS_AF_LASER).

Key Changes:

  • Created a new SquidAFShutter class to control the autofocus IR laser
  • Added device registration and factory methods for the new shutter
  • Enhanced logging in the monitoring thread

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
SquidAFShutter.cpp New file implementing the autofocus shutter device controlling pin 15
Squid.h Added class declaration for SquidAFShutter and required constants
SquidHub.cpp Registered the new AF shutter device and added it to detected peripherals
SquidShutter.cpp Removed commented-out code from Initialize()
SquidMonitoringThread.cpp Uncommented and added logging statements
Cephla.vcxproj Added new source file to build configuration
Cephla.vcxproj.filters Added new source file to project filters

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread DeviceAdapters/Cephla/Squid.h Resolved
nicost and others added 3 commits October 15, 2025 16:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@nicost
nicost merged commit 4fc6497 into micro-manager:main Oct 15, 2025
2 checks passed
@nicost
nicost deleted the Cephla branch October 16, 2025 18:41
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