diff --git a/lib/MQ135/MQ135.h b/lib/MQ135/MQ135.h index 90f2550..bc65091 100644 --- a/lib/MQ135/MQ135.h +++ b/lib/MQ135/MQ135.h @@ -25,7 +25,7 @@ v1.0 - First release #define RLOAD 10.0 /// Calibration resistance at atmospheric CO2 level // #define RZERO 76.63 -#define RZERO 1357.29 +#define RZERO 420 /// Parameters for calculating ppm of CO2 from sensor resistance #define PARA 116.6020682 #define PARB 2.769034857 diff --git a/src/main.cpp b/src/main.cpp index 75bf19d..8b573ab 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,8 +2,6 @@ #include #include -#define RZERO 1 - #define PIN_MQ135 A0 #define PIN_DHT11 A1