This commit is contained in:
2025-10-10 22:31:16 -04:00
parent 1769b660ba
commit 10b901d76f
2 changed files with 380 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
#include "i2c_bus.h"
#define BME280_I2C_ADDRESS_DEFAULT (0x76) /*The device's I2C address is either 0x76 or 0x77.*/
#define BME280_DEFAULT_CHIPID (0x58) /* BME ID is (0x60) */
#define BME280_DEFAULT_CHIPID (0x58) /* BME ID is (0x60) BMP ID is (0x58)*/
#define WRITE_BIT I2C_MASTER_WRITE /*!< I2C master write */
#define READ_BIT I2C_MASTER_READ /*!< I2C master read */