#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_err.h"
#include "traffic_controller.h"
#include "traffic_light.h"
void app_main(void) {
ESP_ERROR_CHECK(trafficLightInit());
ESP_ERROR_CHECK(trafficControllerInit());
while (1) {
trafficController();
vTaskDelay(pdMS_TO_TICKS(10));
}
}
Loading
esp32-s3-devkitc-1
esp32-s3-devkitc-1