diff --git a/lib/MQ135/MQ135.h b/lib/MQ135/MQ135.h index c9d980c..4f3d0fe 100644 --- a/lib/MQ135/MQ135.h +++ b/lib/MQ135/MQ135.h @@ -36,7 +36,7 @@ class MQ135 { /// Get R0 in custom conditions for calibration purposes. /// Can be used, if you know the current CO2 Level. double getR0ByCO2Level(float ppm); - /// Set R0 Value foir calibration. + /// Set R0 Value for calibration. void setR0(float r0); /// Gets the resolved sensor voltage diff --git a/src/main.cpp b/src/main.cpp index 9d02e87..ace9e9e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,5 @@ #include -#include "MQ135.h" +#include #define PIN_MQ135 A0 #define PIN_LED_GREEN DD2 @@ -14,8 +14,7 @@ MQ135 co2_sensor(PIN_MQ135); void setup() { Serial.begin(9600); - pinMode(PIN_MQ135, INPUT); - co2_sensor.setR0(1000.); + // co2_sensor.setR0(1000.); } void printValues(float ppm, float temp, float humidity);