#include #include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" static const char *TAG = "led_driver"; extern "C" void app_main(void) { ESP_LOGI(TAG, "LED driver (C++) starting"); int tick = 0; while (true) { ESP_LOGI(TAG, "alive: %d", tick++); vTaskDelay(pdMS_TO_TICKS(1000)); } }