endail/hx711

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

endail opened this issue · 1 comments

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?

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