library for using load cell with hx711

Dependents:   Loadcellfinal_last_worked_copy ColdStorageSystem

Fork of HX711 by Stephen Laskowski

Revision:
1:a2666eae3d06
Parent:
0:716e1cbdac61
--- a/HX711.h	Wed Nov 25 20:21:30 2015 +0000
+++ b/HX711.h	Mon Mar 20 13:07:36 2017 +0000
@@ -33,12 +33,12 @@
 {
  
 public:
-    HX711(PinName pinData, PinName pinSck,uint8_t gain = 128);
+    HX711(PinName , PinName ,uint8_t gain = 128);
     ~HX711();
     int getValue(void);
-    int averageValue(uint8_t times);
+    int averageValue(uint8_t times = 25 );
     void setOffset(int offset);
-    void setScale(float scale);
+    void setScale(float scale = 1990.f);
     float getGram();
     void setGain(uint8_t gain);
     void powerDown();