FreeRTOS - Task Creation and Management
What will be the output of this FreeRTOS code snippet if both tasks print their names repeatedly?
void Task1(void *pvParameters) {
for (;;) {
printf("Task1 running\n");
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}
void Task2(void *pvParameters) {
for (;;) {
printf("Task2 running\n");
vTaskDelay(500 / portTICK_PERIOD_MS);
}
}