POC Breath using SMD commercial sensors

Dependencies:   iAQ_Core Adafruit_SGP30_mbed mbed BME680

Revision:
4:54dc2a95c130
Parent:
3:3d51f8870e91
Child:
5:646a7e58989e
--- a/flow.h	Thu Jul 25 11:17:46 2019 +0000
+++ b/flow.h	Fri Jul 26 09:31:58 2019 +0000
@@ -4,7 +4,6 @@
 
 AnalogIn flowIn(PA_0);
 Serial co2(PC_10,PC_11);
-//Serial ttl(A1,A0);
 AnalogIn sensor1(PC_0);
 AnalogIn sensor2(PC_1);
 AnalogIn sensor3(PC_2);
@@ -49,7 +48,7 @@
         if (flag==1)
         {
             FPressure=P1-fp;
-          finalflow=(0.24*sqrt(FPressure)); //flow in litter per min
+          finalflow=(0.24*sqrt(FPressure)); //flow in litter per second
           return finalflow;
         }
     }