Adafruit BMP280 Library
|
#include <Arduino.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_I2CDevice.h>
#include <Adafruit_SPIDevice.h>
Go to the source code of this file.
Classes | |
struct | bmp280_calib_data |
class | Adafruit_BMP280_Temp |
class | Adafruit_BMP280_Pressure |
class | Adafruit_BMP280 |
Macros | |
#define | BMP280_ADDRESS (0x77) |
#define | BMP280_ADDRESS_ALT (0x76) |
#define | BMP280_CHIPID (0x58) |
Enumerations | |
enum | { BMP280_REGISTER_DIG_T1 = 0x88, BMP280_REGISTER_DIG_T2 = 0x8A, BMP280_REGISTER_DIG_T3 = 0x8C, BMP280_REGISTER_DIG_P1 = 0x8E, BMP280_REGISTER_DIG_P2 = 0x90, BMP280_REGISTER_DIG_P3 = 0x92, BMP280_REGISTER_DIG_P4 = 0x94, BMP280_REGISTER_DIG_P5 = 0x96, BMP280_REGISTER_DIG_P6 = 0x98, BMP280_REGISTER_DIG_P7 = 0x9A, BMP280_REGISTER_DIG_P8 = 0x9C, BMP280_REGISTER_DIG_P9 = 0x9E, BMP280_REGISTER_CHIPID = 0xD0, BMP280_REGISTER_VERSION = 0xD1, BMP280_REGISTER_SOFTRESET = 0xE0, BMP280_REGISTER_CAL26 = 0xE1, BMP280_REGISTER_STATUS = 0xF3, BMP280_REGISTER_CONTROL = 0xF4, BMP280_REGISTER_CONFIG = 0xF5, BMP280_REGISTER_PRESSUREDATA = 0xF7, BMP280_REGISTER_TEMPDATA = 0xFA } |
This is a library for the Adafruit BMP280 Breakout.
Designed specifically to work with the Adafruit BMP280 Breakout.
Pick one up today in the adafruit shop! ---—> https://www.adafruit.com/product/2651
These sensors use I2C to communicate, 2 pins are required to interface.
Adafruit invests time and resources providing this open source code, please support Adafruit andopen-source hardware by purchasing products from Adafruit!
K.Townsend (Adafruit Industries)
BSD license, all text above must be included in any redistribution
#define BMP280_ADDRESS (0x77) |
I2C ADDRESS/BITS/SETTINGSThe default I2C address for the sensor.
#define BMP280_ADDRESS_ALT (0x76) |
Alternative I2C address for the sensor.
#define BMP280_CHIPID (0x58) |
Default chip ID.