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 variable name in README.md example code #2

Merged
merged 1 commit into from
Aug 18, 2019
Merged

Conversation

r-a-i
Copy link
Owner

@r-a-i r-a-i commented Aug 18, 2019

In response to issue bogde#10 this commit fixes the name of a variable "scale" into "loadcell" in the example for the non-blocking mode which originally read:

// 4. Acquire reading without blocking
if (scale.wait_ready_timeout(1000)) {...

Where it should say:

// 4. Acquire reading without blocking
if (loadcell.wait_ready_timeout(1000)) {...
for consistency with the definition at the start of the example

HX711 loadcell;

@r-a-i r-a-i merged commit 856f438 into master Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant