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

Dependents:   SmartCrutches

Revision:
1:197ef68ad6de
Parent:
0:5fa72cacd94b
Child:
2:f118f8c456a4
--- a/Hx711.cpp	Wed Jun 15 15:23:54 2016 +0000
+++ b/Hx711.cpp	Thu Jun 16 07:31:43 2016 +0000
@@ -20,6 +20,8 @@
 
 int Hx711::readRaw() {
     // wait for the chip to become ready
+    // TODO: this is not ideal; the programm will hang if the chip never
+    // becomes ready...
     while (!is_ready());
 
     uint32_t value = 0;