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 | |
char | bme680_loadSettings (bme680_t *dev) |
Loads settings values that have been saved in the bme680_t structure into the BME680 sensor. More... | |
void | bme680_configure (bme680_t *dev, char setting, int value) |
Change configurable settings for the BME680 sensor. 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.
void bme680_configure | ( | bme680_t * | dev, |
char | setting, | ||
int | value | ||
) |
Change configurable settings for the BME680 sensor.
*dev | pointer to the bme680 device. |
setting | the setting to change. May be |
Ambient Temperature in deg C (BME680_SETTING_AMB_TEMP) - default is 25. Heater Temperature in deg C (BME680_SETTING_HEATER_TEMP) - default is 320. Heater Duration in ms (BME680_SETTING_HEATER_DURATION) - default is 150. Low-pass filter size (BME680_SETTING_FILTER_SIZE) - default is BME680_FILTER_SIZE_3. Temperature samples to take (BME680_SETTING_TEMP_SAMPLES) - default is BME680_OS_8X. Pressure samples to take (BME680_SETTING_PRESSURE_SAMPLES) - default is BME680_OS_4X. Humidity samples to take (BME680_SETTING_HUMIDITY_SAMPLES) - default is BME680_OS_2X.
value | the value to write into that setting. |
char bme680_loadSettings | ( | bme680_t * | dev | ) |
Loads settings values that have been saved in the bme680_t structure into the BME680 sensor.
*dev | pointer to the bme680 device. |