mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-11-06 16:00:55 +00:00
mqtt
This commit is contained in:
@@ -63,6 +63,7 @@ void print_sensors_task(void *arg)
|
|||||||
while (1) {
|
while (1) {
|
||||||
// Print the values to the serial console
|
// Print the values to the serial console
|
||||||
printf(" %.1f, %.2f, %.2f \n", temperature, humidity, pressure);
|
printf(" %.1f, %.2f, %.2f \n", temperature, humidity, pressure);
|
||||||
|
mqttronix_update_temp (temperature);)
|
||||||
vTaskDelay(2500/portTICK_PERIOD_MS);
|
vTaskDelay(2500/portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user