Update Adafruit_BMP085_U.h

add new function: float seaLevelForAltitude(float altitude, float atmospheric, float temp);
which converts the measured pressure at a give altitude to sealevel-pressure.
This is useful, when you will use the BMP for weather-reporting.
This commit is contained in:
kunosee
2014-02-26 15:06:52 +01:00
parent 64d9b9e5bf
commit 2f673354d1

View File

@@ -99,6 +99,7 @@ class Adafruit_BMP085_Unified : public Adafruit_Sensor
void getTemperature(float *temp);
void getPressure(float *pressure);
float pressureToAltitude(float seaLevel, float atmospheric, float temp);
float seaLevelForAltitude(float altitude, float atmospheric, float temp);
void getEvent(sensors_event_t*);
void getSensor(sensor_t*);