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 #155

Merged
merged 1 commit into from
Aug 19, 2019
Merged

Conversation

r-a-i
Copy link
Contributor

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

In response to issue #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;

@amotl
Copy link
Contributor

amotl commented Aug 18, 2019

Thanks Rodrigo!

@bogde bogde merged commit fc12033 into bogde:master Aug 19, 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
Development

Successfully merging this pull request may close these issues.

None yet

3 participants