Most embedded systems are reactive by nature. They measure certain properties of their environment with sensors and react on changes. For example, they display something, move a motor, or send a ...
A recent EDN article dealt with a number of programming tips for embedded microcontrollers. One of those tips, using state machines, is a programming approach that is especially useful, yet probably ...