#Arduino.FiniteStateMachine Copied from the Arduino Finite State Machine library here: http://playground.arduino.cc/Code/FiniteStateMachine by Gustavo Gonnet (Contact: gusgonnet@gmail.com)
All credit goes to the original author: Alexander Brevig (Contact: alexanderbrevig@gmail.com)
Updated to include missing return for timeInCurrentState() and changed to return seconds instead of millis.
##Usage Clone this repo directly into the core Arduino application libraries directory.