mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-23 22:03:23 +00:00
esp32 temperature node
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#define I2C_WRITE_BIT I2C_MASTER_WRITE
|
||||
#define I2C_READ_BIT I2C_MASTER_READ
|
||||
|
||||
#define MPU9250_SENSOR_ADDR 0x76 /*!< Slave address of the MPU9250 sensor */
|
||||
#define BME280_SENSOR_ADDR 0x76 /*!< Slave address of the MPU9250 sensor */
|
||||
|
||||
static bme280_handle_t sensor = NULL;
|
||||
float temperature = 0.0f;
|
||||
|
Reference in New Issue
Block a user