Using finite state machines on Arduino [external source]

Really appreciate your work especially your instructable is detailed.