mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-11-07 21:45:18 +00:00
esp32 temperature node
This commit is contained in:
@@ -67,6 +67,7 @@ void app_main(void)
|
|||||||
printf("Temperature: %.1f C\n", temperature);
|
printf("Temperature: %.1f C\n", temperature);
|
||||||
printf("Humidity: %.2f %%\n", humidity);
|
printf("Humidity: %.2f %%\n", humidity);
|
||||||
printf("Pressure: %.2f kPa\n", pressure);
|
printf("Pressure: %.2f kPa\n", pressure);
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
vTaskDelay(2000/portTICK_PERIOD_MS);
|
vTaskDelay(2000/portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user