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 c3bd96412..c7ccb6aaa 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -18,7 +18,7 @@ #include "i2c_bus.h" #include "bme280.h" -static const char *TAG = "i2c-simple-example"; +static const char *TAG = "esp32 node"; float temperature = 0.0f, humidity = 0.0f, pressure = 0.0f; int i2c_master_port = 0; @@ -50,9 +50,6 @@ void app_main(void) bme280_read_temperature(bme280, &temperature); bme280_read_humidity(bme280, &humidity); bme280_read_pressure(bme280, &pressure); - //printf("Temperature: %.1f C\n", temperature); - //printf("Humidity: %.2f %%\n", humidity); - //printf("Pressure: %.2f kPa\n", pressure); printf(" %.1f, %.2f, %.2f \n", temperature, humidity, pressure); vTaskDelay(2000/portTICK_PERIOD_MS);