Embedded system in 4 steps
Menu
The example figure is an model of a theoretical Finite state machine.