Files
zigbeelight/main/main.c
2026-10-09 00:18:35 +02:00

13 lines
328 B
C

#include "nvs_flash.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "zigbee.h"
#include "status_led.h"
void app_main() {
xTaskCreate(status_led_task, "status LED", 4096, NULL, 10, nullptr);
ESP_ERROR_CHECK(nvs_flash_init());
xTaskCreate(zigbee_task, "Zigbee_main", 4096, NULL, 5, nullptr);
}