Vehicle Air Quality warning system/driver safety system, using MQ2 sensor and mq2 library

Dependencies:   MQ2

Revision:
1:e589b168e253
Parent:
0:1e2a25e50796
Child:
3:2e06207b1e90
--- a/main.cpp	Thu Oct 05 11:55:21 2017 +0000
+++ b/main.cpp	Fri Oct 06 09:34:51 2017 +0000
@@ -12,12 +12,14 @@
         pc.printf("CO PPM: %.0f\r\n",mq2.readCO());                             // Performs a one shot read of CO
         pc.printf("Smoke PPM: %.0f\r\n",mq2.readSmoke());                       // Performs a one shot read of Smoke
         pc.printf("LPG PPM: %.0f\r\n",mq2.readLPG());                           // Performs a one shot read of LPG
-        wait(5);
+        wait(1);
+        pc.printf("................................\r\n");                      
         mq2.read(&MQ2_data);                                                    // Alt reading method, reading to struct
         pc.printf("CO PPM: %.0f\r\n",MQ2_data.co);                              // Return data from strut
         pc.printf("Smoke PPM: %.0f\r\n",MQ2_data.smoke);                        // Return data from strut
         pc.printf("LPG PPM: %.0f\r\n",MQ2_data.lpg);                            // Return data from strut
-        wait(5);
+        pc.printf("................................\r\n");                      
+        wait(1);
     }
 }