diff --git a/MQSensorsLib.zip b/MQSensorsLib.zip new file mode 100644 index 0000000..1a83f31 Binary files /dev/null and b/MQSensorsLib.zip differ diff --git a/src/MQUnifiedsensor.h b/src/MQUnifiedsensor.h index 7c12b69..c98ab2c 100644 --- a/src/MQUnifiedsensor.h +++ b/src/MQUnifiedsensor.h @@ -24,7 +24,7 @@ /*****************************Globals***********************************************/ //From the graph, we can see that the resistance ratio in fresh air is a constant: -/* + #define RatioMQ2CleanAir 9.83 //RS / R0 = 9.83 ppm #define RatioMQ3CleanAir 60 //RS / R0 = 60 ppm #define RatioMQ4CleanAir 4.4 //RS / R0 = 4.4 ppm @@ -37,7 +37,7 @@ #define RatioMQ135CleanAir 3.6//RS / R0 = 3.6 ppm #define RatioMQ303CleanAir 1 //RS / R0 = 1 ppm #define RatioMQ309CleanAir 11 //RS / R0 = 11 ppm - */ + //From the calibration program we can obtain the R0 value for each sensor #define R0_MQ2 9.659574468 //R0 after 48 hours pre-heating the sensor