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

No tare #35

Open
DavidMolevelt opened this issue Jun 3, 2020 · 2 comments
Open

No tare #35

DavidMolevelt opened this issue Jun 3, 2020 · 2 comments

Comments

@DavidMolevelt
Copy link

Dear,
I am looking for a change in the program. Once the scale is set, tare is known, it should run at startup without rescale. Is it possible to change this?

@girardcarillo
Copy link

girardcarillo commented Mar 31, 2021

Hi,
I think I have kind of the same question.
I would tare only at first use, and then be able to run again the code without taring again.
I suppose we can edit the hx711.py ?
Thanks a lot :)

@girardcarillo
Copy link

girardcarillo commented Mar 31, 2021

What I have found:
go to hx711.py and fine the method tare_A()
After the line self.set_offset_A(value) add print(value)
Save the file and with nothing on your scale run the example.py code.
The printed value is what you need to save somewhere if you don't want to tare again.

I'm not saying this is a solution to our issue, but a way to find the solution.

If you have any suggestion how to proceed, I would be glad to hear it :)

GC

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

No branches or pull requests

2 participants