Librairie HX711 fonctionnel sur Nucleo L152RE
Fork of HX711 by
Revision 1:9ba152cc4f67, committed 2015-09-23
- 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 |
diff -r f82840dd806a -r 9ba152cc4f67 HX711.cpp --- 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) {