Skip to content

Commit

Permalink
add serial number to output
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Dec 12, 2022
1 parent 4a6e449 commit 4ea3409
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pioreactor/background_jobs/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ def pretty_version(info: tuple[int, ...]) -> str:
f"Pioreactor HAT version: {pretty_version(version.hardware_version_info)}"
)

self.logger.debug(f"Pioreactor HAT serial number: {version.serial_number}")

self.button_down = False
# set up GPIO for accessing the button and changing the LED
self.setup_GPIO()
Expand Down

0 comments on commit 4ea3409

Please sign in to comment.