CN0396 (4-Wire Electrochemical Dual Toxic Gas Sensing System)

Dependencies:   AD5270 AD7798 ADT7310

Dependents:   cn0396-helloworld

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

Revision:
1:024253f170c3
Parent:
0:ef85449aa57f
--- a/CN0396.h	Mon Nov 07 15:56:24 2016 +0000
+++ b/CN0396.h	Mon Nov 07 16:22:55 2016 +0000
@@ -8,6 +8,7 @@
 /**
  * @brief The CN0396 class
  */
+ 
 class CN0396
 {
 public:
@@ -31,18 +32,7 @@
 	/**
 	 *  @brief compensation look-up table
 	 */
-    const ppm_compensation_t ppm_compensation[COMPENSATION_TABLE_SIZE] = {
-        { -30	, 29.9  , 82.3 },
-        { -20	, 38.8  , 84.6 },
-        { -10	, 53.7  , 88.6 },
-        {0		, 69.6  , 92.2 },
-        {10		, 84.9  , 96.2 },
-        {20		, 100.0 , 100.0},
-        {30		, 112.7 , 103.1},
-        {40		, 123.7 , 105.6},
-        {50		, 133.1 , 107.4}
-    };
-
+    ppm_compensation_t ppm_compensation[COMPENSATION_TABLE_SIZE];
 
     /**
      * @brief CN0396 class constructor