Merge pull request 'Finnished example program' (#2) from main into master

Reviewed-on: #2
This commit is contained in:
2025-08-13 15:33:24 -04:00

View File

@@ -150,7 +150,6 @@ void app_main(void)
ESP_ERROR_CHECK(esp_zb_platform_config(&config)); // Apply the configuration to board
// === CREATE TASK 1: LED CONTROL ===
// xTaskCreate = create a new task (mini-program that runs independently)
xTaskCreate(led_task, // Function to run (defined above)
"LED_Task", // Name for debugging (shows in task monitor)
@@ -159,7 +158,6 @@ void app_main(void)
1, // Priority 1-25 (1=lowest, 25=highest priority)
NULL); // Task handle (we don't need to control task later)
// === CREATE TASK 2: ZIGBEE COMMUNICATION ===
xTaskCreate(zigbee_task, // Function to run (defined above)
"Zigbee_Task", // Name for debugging
4096, // Larger stack - Zigbee needs more memory