endail / hx711

Raspberry Pi HX711 C++ Library
MIT License
18 stars 10 forks source link

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

Open endail opened 1 year ago

endail commented 1 year ago

https://github.com/endail/hx711/blob/42d6305ab0aa8ad03e066a67a64228dc67bef4be/include/HX711.h#L83-L86

Perhaps leave it up to the consuming app to decide?

endail commented 1 year ago

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