Reactive State Machine Framework for Arduino
Automaton - Reactive State Machine Framework for Arduino
Read the Wiki for more information.