-
Inside the functions
Task1andTask2, there is an infinite loop.
Each task prints a message with a delay (Task1every 1 second,Task2every 0.5 seconds). -
In the
mainfunction, two tasks are created usingxTaskCreate.
Each task is assigned its own function and stack size. -
Finally, the scheduler is started with
vTaskStartScheduler(),
which runs both tasks according to their delays.
Rempest/The-realtime-OS-with-cpp
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|