mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-11-03 11:35:35 +00:00
esp32 temperature node
This commit is contained in:
@@ -65,8 +65,8 @@ void app_main(void)
|
||||
bme280_read_humidity(bme280, &humidity);
|
||||
bme280_read_pressure(bme280, &pressure);
|
||||
printf("Temperature: %.2f C\n", temperature);
|
||||
printf("Temperature: %.2f \n", humidity);
|
||||
printf("Temperature: %.2f kPa\n", pressure);
|
||||
printf("Humidity: %.2f \n", humidity);
|
||||
printf("Pressure: %.2f kPa\n", pressure);
|
||||
|
||||
vTaskDelay(2000/portTICK_PERIOD_MS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user