mirror of
https://github.com/adafruit/Adafruit_BMP085_Unified.git
synced 2025-08-01 01:44:27 +02:00
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:
@@ -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*);
|
||||
|
||||
|
Reference in New Issue
Block a user