From 2cd0493d50ff6d0de660df07d81bb1bd8aef1fbf Mon Sep 17 00:00:00 2001 From: Mikey Sklar Date: Thu, 19 Sep 2024 11:41:30 -0700 Subject: [PATCH] three second delay Some controllers needed a little more of a delay before sensor initialization. The Feather ESP32-C6 was not detecting the sensor while the Feather RP2040 would. --- examples/PM25_test/PM25_test.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/PM25_test/PM25_test.ino b/examples/PM25_test/PM25_test.ino index 9b7454c..7a459ac 100644 --- a/examples/PM25_test/PM25_test.ino +++ b/examples/PM25_test/PM25_test.ino @@ -18,8 +18,8 @@ void setup() { Serial.println("Adafruit PMSA003I Air Quality Sensor"); - // Wait one second for sensor to boot up! - delay(1000); + // Wait three seconds for sensor to boot up! + delay(3000); // If using serial, initialize it and set baudrate before starting! // Uncomment one of the following