hm, let me take another guess
How about a desktop volume knob
it has a few functions
- read the knob encoder
- output a graphical image of the volume to an LCD screen
- send the volume command to the computer over USB.HID
would you architect this as a single container with tasks, where the tasks yield to each other - hey, check to see if the volume knob was turned; hey, we received a VOLUME_UP command from the operating system over USB
there's some synchronized state
you end up a bit with the Model-View-Update pattern