Fixed (one of the rare times you CAN fix stupid)
It is supposed to be delay(uint32_t), not delay(uint8_t) !!!!!!!
I must have lost ten hours because of that.
Please, enjoy a laugh at my expense.
Chuck
Search found 2 matches
- Sun Jul 31, 2022 7:54 pm
- Forum: General Discussion
- Topic: Assigned Core0 Tasks Locks Up delay() with no WDT reset
- Replies: 1
- Views: 996
- Sun Jul 31, 2022 4:10 am
- Forum: General Discussion
- Topic: Assigned Core0 Tasks Locks Up delay() with no WDT reset
- Replies: 1
- Views: 996
Assigned Core0 Tasks Locks Up delay() with no WDT reset
The code below is a function that is assigned to run on Core 0. Here are the setup lines. TaskHandle_t barTask; xTaskCreatePinnedToCore(barLoop, //task function "Bar Loop", //task name STACK_SIZE, //stack size in words (10K) NULL, //task input parameter 2, //task priority &barTask, //task handle/sch...