Skip to main content

Freertos Tutorial Pdf -

while(1); } This code creates two tasks, sender_task and receiver_task , and uses a queue to send and receive messages between them.

To give you a taste of what FreeRTOS programming is like, here is an example code snippet that creates two tasks and uses a queue to communicate between them: freertos tutorial pdf

// Create the tasks xTaskCreate(sender_task, "Sender", configMINIMAL_STACK_SIZE, NULL, 1, NULL); xTaskCreate(receiver_task, "Receiver", configMINIMAL_STACK_SIZE, NULL, 2, NULL); while(1); } This code creates two tasks, sender_task