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

Investigate whether a HX711 can be detected #53

Open
endail opened this issue Feb 5, 2022 · 0 comments
Open

Investigate whether a HX711 can be detected #53

endail opened this issue Feb 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@endail
Copy link
Owner

endail commented Feb 5, 2022

Reading from an unconnected GPIO could lead to the process hanging (or another other unpredictable result). It may be of some use to have a method of the HX711 class to "test" whether a HX711 could be detected by using a simple read which times-out after some predefined time. Conversely, it may even be better to implement a configurable timeout within the isReady and readValue methods.

@endail endail added the enhancement New feature or request label Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant