This program uses a state machine with an if|else. Just an exercise.

Dependencies:   mbed

unknown revision 'shortlog'