#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_log.h"
#define CONFIG_LOG_DEFAULT_LEVEL_INFO 1
#define CONFIG_LOG_MAXIMUM_LEVEL 5
static const char* TAG = "CLASSDEMO";
void app_main() {
esp_log_level_set(TAG, ESP_LOG_INFO);
//printf("Hello, Wokwi!\n");
ESP_LOGI(TAG, "Hello, Wokwi-Logging!");
while (true) {
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}
Loading
esp32-s3-devkitc-1
esp32-s3-devkitc-1