diff --git a/examples/ONE_V9/ONE_V9.ino b/examples/ONE_V9/ONE_V9.ino index 4d538a4..667f6fc 100644 --- a/examples/ONE_V9/ONE_V9.ino +++ b/examples/ONE_V9/ONE_V9.ino @@ -125,7 +125,7 @@ unsigned long previousPm = 0; int pm25 = -1; int pm01 = -1; int pm10 = -1; -int pm03PCount = -1; +//int pm03PCount = -1; const int tempHumInterval = 5000; unsigned long previousTempHum = 0; @@ -273,12 +273,12 @@ void updatePm() { pm01 = data1.PM_AE_UG_1_0; pm25 = data1.PM_AE_UG_2_5; pm10 = data1.PM_AE_UG_10_0; - pm03PCount = data1.PM_RAW_0_3; +// pm03PCount = data1.PM_RAW_0_3; } else { pm01 = -1; pm25 = -1; pm10 = -1; - pm03PCount = -1; +// pm03PCount = -1; } } } @@ -536,7 +536,7 @@ void sendToServer() { (pm01 < 0 ? "" : ", \"pm01\":" + String(pm01)) + (pm25 < 0 ? "" : ", \"pm02\":" + String(pm25)) + (pm10 < 0 ? "" : ", \"pm10\":" + String(pm10)) + - (pm03PCount < 0 ? "" : ", \"pm003_count\":" + String(pm03PCount)) + +// (pm03PCount < 0 ? "" : ", \"pm003_count\":" + String(pm03PCount)) + (TVOC < 0 ? "" : ", \"tvoc_index\":" + String(TVOC)) + (NOX < 0 ? "" : ", \"nox_index\":" + String(NOX)) + ", \"atmp\":" + String(temp) + diff --git a/library.properties b/library.properties index efbc683..eb494c3 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=AirGradient Air Quality Sensor -version=2.4.13 +version=2.4.14 author=AirGradient maintainer=AirGradient sentence=ESP8266 library for an air quality sensor featuring PM2.5, CO2, Temperature, TVOC and Humidity with OLED display.