Skip to content

Conversation

@pjbRPF
Copy link
Contributor

@pjbRPF pjbRPF commented Oct 15, 2025

Fixes #99

@pjbRPF pjbRPF requested a review from MarcScott October 15, 2025 10:31
@pjbRPF pjbRPF self-assigned this Oct 15, 2025
Copy link
Contributor

@MarcScott MarcScott left a comment

Choose a reason for hiding this comment

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

In motion_sensor_callbacks.py:

for the callback, no need to create functions
pir.when_motion = led.on

In picozero.py:
I think the default bounce time is too small, but this is an opinion and haven't properly researched. PIRs false trigger all the time. I think a bounce time of 0.5 to 1 second might be better, but I don't have set up to test at the moment.

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.

3 participants