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:
2:f118f8c456a4
Parent:
1:197ef68ad6de
Child:
3:9bbfb7f8c751
--- a/Hx711.cpp	Thu Jun 16 07:31:43 2016 +0000
+++ b/Hx711.cpp	Thu Jun 23 09:59:29 2016 +0000
@@ -18,7 +18,7 @@
     read();
 }
 
-int Hx711::readRaw() {
+uint32_t Hx711::readRaw() {
     // wait for the chip to become ready
     // TODO: this is not ideal; the programm will hang if the chip never
     // becomes ready...