diff --git a/esp32c3-dht-mq-wifi.ino b/esp32c3-dht-mq-wifi.ino index 791bf80..6ed81dc 100644 --- a/esp32c3-dht-mq-wifi.ino +++ b/esp32c3-dht-mq-wifi.ino @@ -13,7 +13,7 @@ DHT dht(DHT_PIN, DHT_TYPE); // ----------- MQ-135 ----------- static const int MQ_PIN = A2; // Analog pin for MQ-135 (GPIO2 on ESP32-C3) -static const int MQ_ADC_CALIBRATION = 1900; // ADC baseline in clean air - ADJUST THIS +static const int MQ_ADC_CALIBRATION = 10; // ADC baseline in clean air - ADJUST THIS static const float MQ_AQ_MIN = 0; // Min AQ value static const float MQ_AQ_MAX = 500; // Max AQ value (standard AQI scale) static const float MQ_ADC_MAX = 4095.0; // ESP32-C3 12-bit ADC max