Skip to content

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

Open
r-a-i wants to merge 9 commits into
bogde:masterfrom
r-a-i:master
Open

Prevent sketch lock-up if read (or begin) fail#165
r-a-i wants to merge 9 commits into
bogde:masterfrom
r-a-i:master

Conversation

@r-a-i
Copy link
Copy Markdown
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
Copy Markdown
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