From 426e5afd249b99a63c9e7cce49ba4a1a4b68ea00 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sat, 4 Oct 2025 01:29:32 -0400 Subject: [PATCH] esp32 temperature node --- ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c index cebaf89ff..fe68d31ed 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -79,7 +79,7 @@ void app_main(void) i2c_bus = i2c_bus_create(I2C_MASTER_NUM, &conf); //i2c_bus = i2c_bus_create(I2C_MASTER_NUM, I2C_MASTER_SDA_IO, I2C_MASTER_SCL_IO, I2C_MASTER_FREQ_HZ); sensor = bme280_create(i2c_bus, BME280_SENSOR_ADDR); - //ESP_ERROR_CHECK(bme280_default_init(sensor)); + ESP_ERROR_CHECK(bme280_default_init(sensor)); //ESP_ERROR_CHECK(bme280_read_temperature(sensor, &temperature)); for (int i = 10; i >= 0; i--) {