Library to read out HX711 24-Bit Analog-to-Digital Converter (ADC) for Weigh Scales by AVIA Semiconductor. Tested with K22F with SCK pint at D13 and DT pin at D12
Diff: Hx711.cpp
- Revision:
- 5:16627e96c8de
- Parent:
- 4:f59264464b5b
--- a/Hx711.cpp Thu Jun 23 12:45:26 2016 +0000 +++ b/Hx711.cpp Thu Jun 23 14:16:26 2016 +0000 @@ -33,7 +33,6 @@ data[1] = shiftInMsbFirst(); data[0] = shiftInMsbFirst(); - // TODO: this costs a significant amount of time; should not be done! // set the channel and the gain factor for the next reading using the clock pin for (unsigned int i = 0; i < gain_; i++) { sck_.write(HIGH);