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_powerfunction by
Diff: main.cpp
- Revision:
- 58:3233c10a668c
- Parent:
- 57:1695e252298d
- Child:
- 59:4221935a12d8
--- a/main.cpp Fri May 20 18:27:55 2016 +0000
+++ b/main.cpp Sun May 22 18:49:25 2016 +0000
@@ -112,7 +112,7 @@
//Get Sensor Data except GPS
////////////////////////////
press = bmesensor.getPressure();
- temp = bmesensor.getTemperature()-5.0;
+ temp = bmesensor.getTemperature();
rh = bmesensor.getHumidity();
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));
