Removed the long initial wait

Dependents:   Group4_WaterCollector_System

Files at this revision

API Documentation at this revision

Comitter:
johnanthonyjose
Date:
Sat Aug 27 01:46:45 2022 +0000
Parent:
0:885417624ec2
Commit message:
Final Version for presentation

Changed in this revision

Air_Quality.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Air_Quality.cpp	Fri Sep 05 19:13:07 2014 +0000
+++ b/Air_Quality.cpp	Sat Aug 27 01:46:45 2022 +0000
@@ -48,7 +48,8 @@
     AnalogIn sensor(_pin);
     unsigned char i = 0;
     printf("Air Quality Sensor Starting Up...(20s)\n\r");
-    wait(20); //20s
+//   TODO: Put it back
+//    wait(20); //20s
     init_voltage = sensor.read() * 1000; // boost the value to be on a 0 -> 1000 scale for compatibility
     printf("The initial voltage is %d%% of source \n\r",init_voltage/10);
     while(init_voltage) {