Follow the FreeRTOS tutorial for STM32 microcontrollers where you will learn creating multiple tasks, sending messages between tasks and setting semaphores.