Skip to content
New issue

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

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

Already on GitHub? # to your account

Consider reducing ultrasound timeout #28

Open
kierdavis opened this issue Aug 13, 2019 · 0 comments
Open

Consider reducing ultrasound timeout #28

kierdavis opened this issue Aug 13, 2019 · 0 comments

Comments

@kierdavis
Copy link
Member

It is currently the default for the pulseIn function, which is one second. It probably doesn't need to be this long, and would mean that the host software wouldn't need to wait as long for a possible response.

kierdavis added a commit to srobo/j5 that referenced this issue Aug 13, 2019
When performing ultrasound operations, the arduino may wait up to
1 second before sending a response. We need to ensure the timeout
on a serial read is long enough to accomodate this.

Separately, I've opened sourcebots/arduino-fw#28
to track possibly reducing the timeout in the firmware.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant