Adafruit BME680 Library
Classes | Macros
Adafruit_BME680.h File Reference
#include "Arduino.h"
#include "bme68x.h"
#include <Adafruit_I2CDevice.h>
#include <Adafruit_SPIDevice.h>
#include <Adafruit_Sensor.h>
#include <Wire.h>

Go to the source code of this file.

Classes

class  Adafruit_BME680
 

Macros

#define BME68X_DEFAULT_ADDRESS   (0x77)
 The default I2C address.
 
#define BME68X_DEFAULT_SPIFREQ   (1000000)
 The default SPI Clock speed.
 
#define BME680_OS_16X   BME68X_OS_16X
 Alias for BME680 existing examples.
 
#define BME680_OS_8X   BME68X_OS_8X
 Alias for BME680 existing examples.
 
#define BME680_OS_4X   BME68X_OS_4X
 Alias for BME680 existing examples.
 
#define BME680_OS_2X   BME68X_OS_2X
 Alias for BME680 existing examples.
 
#define BME680_OS_1X   BME68X_OS_1X
 Alias for BME680 existing examples.
 
#define BME680_OS_NONE   BME68X_OS_NONE
 Alias for BME680 existing examples.
 
#define BME680_FILTER_SIZE_127   BME68X_FILTER_SIZE_127
 Alias for BME680 existing examples.
 
#define BME680_FILTER_SIZE_63   BME68X_FILTER_SIZE_63
 Alias for BME680 existing examples.
 
#define BME680_FILTER_SIZE_31   BME68X_FILTER_SIZE_31
 Alias for BME680 existing examples.
 
#define BME680_FILTER_SIZE_15   BME68X_FILTER_SIZE_15
 Alias for BME680 existing examples.
 
#define BME680_FILTER_SIZE_7   BME68X_FILTER_SIZE_7
 Alias for BME680 existing examples.
 
#define BME680_FILTER_SIZE_3   BME68X_FILTER_SIZE_3
 Alias for BME680 existing examples.
 
#define BME680_FILTER_SIZE_1   BME68X_FILTER_SIZE_1
 Alias for BME680 existing examples.
 
#define BME680_FILTER_SIZE_0   BME68X_FILTER_OFF
 Alias for BME680 existing examples.
 

Detailed Description

Adafruit BME680 temperature, humidity, barometric pressure and gas sensor driver

This is the documentation for Adafruit's BME680 driver for the Arduino platform. It is designed specifically to work with the Adafruit BME680 breakout: https://www.adafruit.com/products/3660

These sensors use I2C to communicate, 2 pins (SCL+SDA) are required to interface with the breakout.

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Ladyada for Adafruit Industries.

BSD license, all text here must be included in any redistribution.