Quote:
|
Originally Posted by Daniel
State machines are best implemented using the C "switch" statement, and some long hard thinking.
|
As Dan pointed out, software state machines are a very powerful concept (I cannot possibly over emphasize this). I wrote a serial transmitter example that uses a state machine to generate the waveforms. The code can be found
here.
-Kevin