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 d86c269e3..8c69384a0 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -63,6 +63,7 @@ void print_sensors_task(void *arg) while (1) { // Print the values to the serial console printf(" %.1f, %.2f, %.2f \n", temperature, humidity, pressure); + mqttronix_update_temp (temperature);) vTaskDelay(2500/portTICK_PERIOD_MS); } }