The Task FSM

The Task FSM diagram is:

Task FSM

The Task's states are:

Some notes on this FSM:

Now the problem is: how to take this FSM and put it into your code? The first step in that is encoding the FSM in the SMC language.

Next: Creating an SMC .sm File