Soil Measurements for pH and moisture

Dependencies:   AD7124

Dependents:   cn0398-helloworld

Fork of CN0398 by Analog Devices

For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all

Revision:
2:f1b9c875e725
Parent:
0:d6b384fb3c16
--- a/CN0398.h	Mon Oct 24 15:41:18 2016 +0000
+++ b/CN0398.h	Mon Oct 24 16:03:50 2016 +0000
@@ -223,13 +223,15 @@
     AD7124 ad7124;
     DigitalOut ADP7118Enable;
 
-    bool use_nernst = false;
+    bool use_nernst;
     const float default_offset_voltage = 0;
     const uint16_t SENSOR_SETTLING_TIME = 400; /*in ms*/
     float offset_voltage;
-    float default_calibration_ph[2][2] = {{4, 0.169534}, {10,  -0.134135}};
+    float default_calibration_ph[2][2]; //= {{4, 0.169534}, {10,  -0.134135}};
     float calibration_ph[2][2];
     uint8_t solution0, solution1;
 
 };
+
+
 #endif