Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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;
}
}