Removed the long initial wait
Dependents: Group4_WaterCollector_System
Diff: Air_Quality.cpp
- Revision:
- 1:8468b6ef791a
- Parent:
- 0:885417624ec2
--- 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) {