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.
Dependencies: ADS1115 BME280 CronoDot SDFileSystem mbed
Fork of Outdoor_UPAS_v1_2_Tboard by
Revision 47:fe50d72c7adc, committed 2016-05-05
- Comitter:
- caseyquinn
- Date:
- Thu May 05 17:43:23 2016 +0000
- Parent:
- 46:99d129bfdbbd
- Child:
- 48:45d29f874b23
- Child:
- 49:055231b09a7e
- Commit message:
- removed sampledVol calc from flow control as it was double adding the sampledVol.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed May 04 01:33:48 2016 +0000
+++ b/main.cpp Thu May 05 17:43:23 2016 +0000
@@ -728,7 +728,7 @@
atmoRho = ((press-((6.1078*pow((float)10,(float)((7.5*temp)/(237.3+temp))))*(rh/100)))*100)/(287.0531*(temp+273.15))+((6.1078*pow((float)10,(float)((7.5*temp)/(237.3+temp))))*(rh/100)*100)/(461.4964*(temp+273.15));
volflow = massflow/atmoRho;
- sampledVol = sampledVol + ((((float)logInerval)/60.0)*volflow);
+ //sampledVol = sampledVol + ((((float)logInerval)/60.0)*volflow);
deltaVflow = volflow-volflowSet;
massflowSet = volflowSet*atmoRho;
deltaMflow = massflow-massflowSet;
