Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL2

Dependencies:   mbed

Revision:
22:2c37ac12746e
Parent:
18:78e982f31c6b
Child:
24:078f62c8d0ed
--- a/inc/adc_defs.h	Fri Jan 11 21:45:55 2019 +0000
+++ b/inc/adc_defs.h	Tue Jan 15 01:32:33 2019 +0000
@@ -59,7 +59,11 @@
 */
 #define CURRENT_48_DIV_FACTOR -372
 #define CURRENT_24_DIV_FACTOR -376
-#define CURRENT_12_DIV_FACTOR -356
+//#define CURRENT_12_DIV_FACTOR -356
+#define CURRENT_12_DIV_FACTOR -208
+
+const double ROW_CORRECTION_FACTOR = 1.017;
+#define ROW_HYSTERESIS 2
 
 extern double CURRENT_48_OFFSET;
 extern double CURRENT_24_OFFSET;