Librairie HX711 fonctionnel sur Nucleo L152RE

Dependents:   WaterLogger

Fork of HX711 by Cr300-Litho

Files at this revision

API Documentation at this revision

Comitter:
jehoon
Date:
Wed Sep 23 04:04:47 2015 +0000
Parent:
0:f82840dd806a
Commit message:
calibration

Changed in this revision

HX711.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HX711.cpp	Fri Jun 12 16:05:39 2015 +0000
+++ b/HX711.cpp	Wed Sep 23 04:04:47 2015 +0000
@@ -26,7 +26,7 @@
 #include "HX711.h"
 #include "mbed.h"
 
-#define SCALE_VALUE 259.79 //multiple propre à chaque hardware
+#define SCALE_VALUE 1892.f //multiple propre à chaque hardware
 
 HX711::HX711(PinName pinData, PinName pinSck, uint8_t gain)
 {