|
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 | |
| void | bme680_read (bme680_t *dev, unsigned char reg_addr, unsigned char *reg_data, unsigned short len) |
| Internal function used to write values to the specified registers of the BME680 sensor. More... | |
| void | bme680_write (bme680_t *dev, unsigned char reg_addr, unsigned char *reg_data, unsigned short len) |
| Internal function used to read values from the specified registers of 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_read | ( | bme680_t * | dev, |
| unsigned char | reg_addr, | ||
| unsigned char * | reg_data, | ||
| unsigned short | len | ||
| ) |
Internal function used to write values to the specified registers of the BME680 sensor.
| *dev | pointer to the bme680 device. |
| reg_addr | the address of first register to write to. |
| *reg_data | the array containing alternating data and address bytes to write. |
| len | the total number of data and address bytes to write. |
| void bme680_write | ( | bme680_t * | dev, |
| unsigned char | reg_addr, | ||
| unsigned char * | reg_data, | ||
| unsigned short | len | ||
| ) |
Internal function used to read values from the specified registers of the BME680 sensor.
| *dev | pointer to the bme680 device. |
| reg_addr | the address of register to begin reading from. |
| *reg_data | the array to store the received data into. |
| len | the number of bytes to read. |