attempt to fix posible power issues with the sharp
Dependencies: ADS1115 BME280 CronoDot SDFileSystem mbed
Fork of Outdoor_UPAS_v1_2_Tboard 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));