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

HX711ADC.cpp #2

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

HX711ADC.cpp #2

wants to merge 8 commits into from

Conversation

gritnix
Copy link

@gritnix gritnix commented May 5, 2016

Added get_offset() function to return OFFSET

gritnix added 8 commits May 5, 2016 13:23
Added get_offset() function to return OFFSET
h file to go w/get_offset()
add get_scale
add get_scale()
Retry limit around is_ready() in read(), otherwise this can hang forever if the chip is damaged/missing/etc.
Mod read_average to deal w/possible failed reads.  Reads have to be allowed to fail and cannot hang the uP forever waiting for the chip to "be ready"
fix possible divide by 0 in read()
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.

1 participant