The purpose of FSM is to enable the lights to flash.
The FSM has one external switch: on/off.
Signals are visible on the diagram as 1 and 0 next to each state transition arrow.
Traffic danger sign FSM: