Draft
Conversation
b8023b6 to
1f6d0cc
Compare
gen2thomas
commented
Sep 6, 2025
gen2thomas
commented
Sep 6, 2025
hx711/hx711.go
Outdated
| const ( | ||
| defaultResetDuration = 100 * time.Microsecond | ||
| defaultSettlingTime = 400 * time.Millisecond // according the data sheet: RATE=0 (10Hz), otherwise use 50 ms | ||
| // readCycleTime = 100 * time.Millisecond // for RATE=0 (10Hz), otherwise 12.5 ms (80Hz) |
Author
There was a problem hiding this comment.
this is not used internally, e.g. for blocking fast updates, but a caller could have a benefit if we add a "MaxCycleTime()" function to the drivers.Sensor interface
1f6d0cc to
6098b2e
Compare
6098b2e to
e47ad30
Compare
9 tasks
337ddb5 to
d050951
Compare
20a78f5 to
78779f9
Compare
78779f9 to
0d56cf1
Compare
0d56cf1 to
cb01582
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a driver for the weight cell chip HX711.
TODO: