mirror of
https://github.com/adafruit/Adafruit_BMP085_Unified.git
synced 2025-08-02 02:14:28 +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 getTemperature(float *temp);
|
||||||
void getPressure(float *pressure);
|
void getPressure(float *pressure);
|
||||||
float pressureToAltitude(float seaLevel, float atmospheric, float temp);
|
float pressureToAltitude(float seaLevel, float atmospheric, float temp);
|
||||||
|
float seaLevelForAltitude(float altitude, float atmospheric, float temp);
|
||||||
void getEvent(sensors_event_t*);
|
void getEvent(sensors_event_t*);
|
||||||
void getSensor(sensor_t*);
|
void getSensor(sensor_t*);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user