mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-29 10:48:54 +00:00
.
This commit is contained in:
@@ -79,7 +79,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(" Temp: %.1f, Humidity: %.2f, Pressure: %.2f \n", temperature, humidity, pressure);
|
||||||
|
|
||||||
vTaskDelay(2500/portTICK_PERIOD_MS);
|
vTaskDelay(2500/portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user