From d9e19fe0d9ff11c050bed8b87a99faa57874cdae Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 5 Jan 2019 19:43:31 -0500 Subject: [PATCH] code fixes. --- code/sensortest/sensortest.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/sensortest/sensortest.ino b/code/sensortest/sensortest.ino index 4c3075c..5228004 100644 --- a/code/sensortest/sensortest.ino +++ b/code/sensortest/sensortest.ino @@ -1,6 +1,6 @@ #include -int DustSensePin = 14; +int DustSensePin = 13; unsigned long duration; unsigned long starttime; unsigned long sampletime_ms = 30000;//sample 30s ; @@ -11,6 +11,7 @@ float concentration = 0; void setup() { Serial.begin(9600); + Serial.println("Starting Air Sensor, please wait for readings..."); pinMode(DustSensePin,INPUT); starttime = millis();//get the current time; }