esp32 temperature node

This commit is contained in:
2025-10-04 01:02:08 -04:00
parent 7fd8fab3b5
commit 638694ff67

View File

@@ -28,7 +28,7 @@
#define I2C_WRITE_BIT I2C_MASTER_WRITE #define I2C_WRITE_BIT I2C_MASTER_WRITE
#define I2C_READ_BIT I2C_MASTER_READ #define I2C_READ_BIT I2C_MASTER_READ
#define BME280_SENSOR_ADDR 0x76 /*!< Slave address of the MPU9250 sensor */ #define BME280_SENSOR_ADDR 0x77 /*!< Slave address of the MPU9250 sensor */
static bme280_handle_t sensor = NULL; static bme280_handle_t sensor = NULL;
float temperature = 0.0f; float temperature = 0.0f;