The loopcontains the body of the Finite state machine code. The actual code for the FSM is in UserFiniteStateMachine.h. Decalartions of the I/O and the user variables can be programmed in UserConfiguration.h. An explanation of the UserFiniteStateMachine.h and UserConfiguration.h is still under construction.

Click here for the loop code of the sketch.