A finite state machine is a machine that has a set of inputs which can change to the state if the machine by changing the output.
For example a pen has two outputs. Nib exposed or nib retracted. The input which can control this is the button on top of the pen.
We can show a finite state machines possible actions by using a state transition diagram
For example a pen has two outputs. Nib exposed or nib retracted. The input which can control this is the button on top of the pen.
We can show a finite state machines possible actions by using a state transition diagram