esp32 temperature node

This commit is contained in:
2025-10-04 00:28:30 -04:00
parent 0460726807
commit 2cd3adbfb0
13 changed files with 845 additions and 841 deletions

View File

@@ -62,7 +62,7 @@ void app_main(void)
printf("Minimum free heap size: %" PRIu32 " bytes\n", esp_get_minimum_free_heap_size());
ESP_ERROR_CHECK(bme280_default_init(sensor));
ESP_ERROR_CHECK(bme280_read_temperature(sensor, *temperature));
ESP_ERROR_CHECK(bme280_read_temperature(sensor, temperature));
for (int i = 10; i >= 0; i--) {
printf("Restarting in %d seconds...\n", i);