Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WIP: add hx711 driver#790

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
gen2thomas wants to merge1 commit intotinygo-org:dev
base:dev
Choose a base branch
Loading
fromgen2thomas:feature/hx711

Conversation

@gen2thomas
Copy link

@gen2thomasgen2thomas commentedSep 6, 2025
edited
Loading

Add a driver for the weight cell chip HX711.

TODO:

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)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

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

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@gen2thomas

[8]ページ先頭

©2009-2025 Movatter.jp