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

Dependencies:   mbed

shortlog@59b7da6bb864: not found in manifest