State machines are a foundation of digital design. Eventually we all reach the point where we need to control our digital algorithm, and we almost always turn to a state machine to do the job. State ...
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 ...
Imagine a robot with an all-around bump sensor. The response to the bump sensor activating depends on the previous state of the robot. If it had been going forward, a bump will send it backwards and ...