Compare commits
2 Commits
53fca9f94f
...
748ba5393e
Author | SHA1 | Date | |
---|---|---|---|
748ba5393e | |||
bdd701a842 |
@@ -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
|
||||
|
Reference in New Issue
Block a user