state example

This example implements a simple controller for a cassette player according to the model below:

Press the buttons below to send events to the controller:

Motor: stopped