StateMachine Library
The StateMachine library implements a state machine that can run on a processor like Arduino