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

Dependencies:   mbed

History

First Example in how to use state machines in c. Using if|else; default tip

2015-05-28, by Jamess [Thu, 28 May 2015 18:05:21 +0000] rev 0

First Example in how to use state machines in c. Using if|else;