BME680 Library  0.5
Library for the Bosch BME680 Air Quality sensor
bme680_pressure.c File Reference

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_pressure (bme680_t *dev, char unit)
 Retrieve the temperature from the last read of the BME680 device. More...
 

Detailed Description

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.

Author
Matthew Matz
Version
0.5

Function Documentation

◆ bme680_pressure()

float bme680_pressure ( bme680_t dev,
char  unit 
)

Retrieve the temperature from the last read of the BME680 device.

Parameters
*devpointer to the bme680 device.
unitUnit of meaure to return the measurement in.
May be PASCALS, MMHG, INHG, or PSI.