|
bool | begin (uint8_t addr=BME280_ADDRESS) |
|
void | setIIRFilter (uint8_t filter=1) |
|
void | triggerMeasurement (uint8_t p_oversampling=1, uint8_t t_oversampling=1) |
| Write mode bits in ctrl_meas.
|
|
float | readTemperature (void) |
|
float | readPressure (void) |
|
float | readHumidity (void) |
|
float | readAltitude (float seaLevel) |
|
◆ readAltitude()
float BME280::readAltitude |
( |
float |
seaLevel | ) |
|
Calculates the altitude (in meters) from the specified atmospheric pressure (in hPa), and sea-level pressure (in hPa).
- Parameters
-
seaLevel | Sea-level pressure in hPa |
atmospheric | Atmospheric pressure in hPa |
The documentation for this class was generated from the following files:
- BayEOS-Arduino/libraries/BayEOSSensors/BME280.h
- BayEOS-Arduino/libraries/BayEOSSensors/BME280.cpp