|
| Adafruit_BME680 (int8_t cspin=-1) |
|
| Adafruit_BME680 (int8_t cspin, int8_t mosipin, int8_t misopin, int8_t sckpin) |
|
bool | begin (uint8_t addr=BME680_DEFAULT_ADDRESS) |
|
float | readTemperature (void) |
|
float | readPressure (void) |
|
float | readHumidity (void) |
|
uint32_t | readGas (void) |
|
float | readAltitude (float seaLevel) |
|
bool | setTemperatureOversampling (uint8_t os) |
| Setters for Temp, Humidity, Pressure oversampling.
|
|
bool | setPressureOversampling (uint8_t os) |
|
bool | setHumidityOversampling (uint8_t os) |
|
bool | setIIRFilterSize (uint8_t fs) |
| Setter for IIR filter.
|
|
bool | setGasHeater (uint16_t heaterTemp, uint16_t heaterTime) |
| Enable and configure gas reading + heater.
|
|
bool | performReading (void) |
|
|
float | temperature |
|
float | pressure |
|
float | humidity |
|
float | gas_resistance |
|
◆ readAltitude()
float Adafruit_BME680::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: