Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pulsein pause and resume functions to handle HCSR04 #4859

Merged
merged 1 commit into from
Jun 4, 2021
Merged

Fix pulsein pause and resume functions to handle HCSR04 #4859

merged 1 commit into from
Jun 4, 2021

Conversation

DavePutz
Copy link
Collaborator

@DavePutz DavePutz commented Jun 4, 2021

Fix for issue #4839. Corrected RP2040 Pulsein logic (mostly in the pause and resume functions) to properly handle the HCSR04 ultrasonic distance sensor. Also, tested DHT and Infrared remote sensors to verify that they still work correctly.

Copy link
Collaborator

@jerryneedell jerryneedell left a comment

Choose a reason for hiding this comment

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

Tested hcsr04_simpletest on a feather rp2040 -- works normally.
also verified that it still works on a feather m4
Thank you!

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.

None yet

3 participants