Replace BMP280 with BME280: remove BMP280 files and implement BME280 initialization and reading functions
This commit is contained in:
7
hardware/include/BME280.hpp
Normal file
7
hardware/include/BME280.hpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <Wire.h>
|
||||
#include <BME280I2C.h>
|
||||
|
||||
#define I2C_BMP280_ADDRESS 0x76
|
||||
|
||||
void BME280_Init();
|
||||
bool BME280_Read(float &pressure, float &temperature, float &humidity);
|
||||
Reference in New Issue
Block a user