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

Should the HX711 class try to keep the chip's state? #75

Open
endail opened this issue Jan 7, 2023 · 1 comment
Open

Should the HX711 class try to keep the chip's state? #75

endail opened this issue Jan 7, 2023 · 1 comment
Labels
question Further information is requested

Comments

@endail
Copy link
Owner

endail commented Jan 7, 2023

hx711/include/HX711.h

Lines 83 to 86 in 42d6305

const Rate _rate;
std::mutex _commLock;
Channel _channel;
Gain _gain;

Perhaps leave it up to the consuming app to decide?

@endail endail added the question Further information is requested label Jan 7, 2023
@endail
Copy link
Owner Author

endail commented Jan 8, 2023

Gain needs to be maintained to be able to properly set input gain selection when a read takes place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant