Introduction
Tasks let your program do many things at once. They help organize work into small, easy parts.
When you want your device to read sensors and control motors at the same time.
When you need to handle user input while also sending data over the network.
When your program must keep track of time and respond quickly to events.
When you want to separate different jobs so they don't block each other.
When you want your program to be easier to understand and fix.