Search found 2 matches

by protttoy
Fri Apr 08, 2022 1:56 am
Forum: ESP32 Arduino
Topic: Help with ESP32 and RTOS
Replies: 5
Views: 2995

Re: Help with ESP32 and RTOS

with the vTaskResume the task should resume from the moment it was suspended, right ? Why is the vTaskDelayUntill not working in this case ? Please see the output, the tasks are printing things without executing the delay.
by protttoy
Thu Apr 07, 2022 9:27 am
Forum: ESP32 Arduino
Topic: Help with ESP32 and RTOS
Replies: 5
Views: 2995

Help with ESP32 and RTOS

Hi, I don't understand how the vTaskResume and vTaskSuspend commands work in this following code: static TaskHandle_t handle_task1 = NULL; static TaskHandle_t handle_task2 = NULL; static TaskHandle_t handle_task3 = NULL; void setup() { Serial.begin(115200); delay(2000); // create tasks xTaskCreate(t...