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

Dependencies:   mbed

Auto generated API documentation and code listings for StateMachine_1

Code

main.cpp [code]