Update esp32c3-dht-mq-wifi.ino

This commit is contained in:
bmixed committed 2026-11-26 01:40:46 +00:00
1 parent fbe764b304
commit 6aa418b63f
1 file changed
+1 -1
+1 -1
View File
@@ -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