BME680 Library
0.5
Library for the Bosch BME680 Air Quality sensor
|
Sensor driver for the Bosch BME680 air quality sensor. This library supports i2c and 4-wire SPI connections, reads temperature, pressure, relative humidity, and VOC levels, and provides limited support for adjusting the sensors settings. More...
#include "bme680.h"
Functions | |
float | bme680_altitude (bme680_t *dev, char unit) |
Retrieve the estimated altitude from the last read of the BME680 device. More... | |
Sensor driver for the Bosch BME680 air quality sensor. This library supports i2c and 4-wire SPI connections, reads temperature, pressure, relative humidity, and VOC levels, and provides limited support for adjusting the sensors settings.
float bme680_altitude | ( | bme680_t * | dev, |
char | unit | ||
) |
Retrieve the estimated altitude from the last read of the BME680 device.
*dev | Pointer to the bme680 device. |
unit | Unit of meaure to return the measurement in. May be METERS or FEET. |