endail / hx711

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

Remove channel selection #63

Closed endail closed 1 year ago

endail commented 1 year ago

HX711 channels are linked-to a fixed, mututally-exclusive gain. See: https://github.com/endail/hx711-pico-c#where-is-channel-a-and-channel-b

endail commented 1 year ago

HX711::getChannel can be removed.

endail commented 1 year ago

HX711::setConfig needs rewriting to eg. setGain( const Gain g ).