SGP30 (used in POCBreath_V2_smd_commercial)
Dependencies: Adafruit_SGP30_mbed mbed
Diff: flow.h
- Revision:
- 4:54dc2a95c130
- Parent:
- 3:3d51f8870e91
--- 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; } }