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
Revision 5:16627e96c8de, committed 2016-06-23
- Comitter:
- megrootens
- Date:
- Thu Jun 23 14:16:26 2016 +0000
- Parent:
- 4:f59264464b5b
- Commit message:
- removed TODO; should not be done
Changed in this revision
Hx711.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f59264464b5b -r 16627e96c8de Hx711.cpp --- 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);