A simple construct, called a state machine, simplifies the task of generating a sequence by breaking the sequence into a series of steps and then executing them sequentially. While this sounds like an arbitrary definition of a linear piece of code, the difference is that the individual sections, or steps in the sequence, are encoded within a SWITCH/CASE statement.Read the full article here.
Thursday, January 04, 2007
Doing embedded multitasking with small microcontrollers - embedded.com
Embedded.com is running an article by Keith Curtis, a principal applications engineer at Microchip, on building simple MCU state machine constructs.
No comments:
Post a Comment