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

Prevent sketch lock-up if read (or begin) fail #165

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

r-a-i
Copy link
Contributor

@r-a-i r-a-i commented Dec 15, 2019

This solves an issue where a sketch/board that does not have a properly connected HX711 locks up.
This solution returns a zero value to tell the downstream code that there was an error.

r-a-i and others added 7 commits August 18, 2019 00:33
Fix variable name in README.md example code
Extended default retry number and delay as Arduino Mega2560 was timing out.
Replaced byte with int to support sampling more than 256 time for high-precision averaging.
Output message to indicate timeout.
Reduced delay between trials for is_ready.
@amotl
Copy link
Contributor

amotl commented Mar 22, 2020

Dear Rodrigo,

#174 by @HamidSaffari might have solved the same issue but differently. Will you be able to check?

With kind regards,
Andreas.

* tmp:
  Added support to handle temperature coefficient internally.
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