Introduction
Tasks in FreeRTOS can be in different states to manage how they run. This helps the system decide which task to run and when.
When you want to know if a task is ready to run or waiting for something.
When debugging why a task is not running as expected.
When designing your program to handle tasks that wait for events or resources.
When you want to pause a task temporarily without deleting it.
When managing multiple tasks to keep the system responsive.