diff --git a/src/main.cpp b/src/main.cpp index 4aca889..3f52f8f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -125,7 +125,7 @@ void printValues() { Serial.print("Raw UVA reading: "); Serial.println(uv.readUVA()); Serial.print("Raw UVB reading: "); Serial.println(uv.readUVB()); } - +/* if (sds_active) { PmResult pm = sds.readPm(); if (pm.isOk()) { @@ -141,7 +141,7 @@ void printValues() { Serial.println(pm.statusToString()); } } - +*/ } void sendValues() { @@ -237,7 +237,7 @@ void setup() if (sds_fw.isOk()) { sds_active = true; sds.setActiveReportingMode(); // ensures sensor is in 'active' reporting mode -// sds.setCustomWorkingPeriod(5); // sensor sends data every 3 minutes + sds.setCustomWorkingPeriod(5); // sensor sends data every 3 minutes } else { Serial.println("Failed to communicate with SDS011 sensor, check wiring?"); }