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 ...
Raindrops on roses, and whiskers on kittens. They’re ok, but state machines are absolutely on our short list of favorite things. There are probably as many ways to implement a state machine as there ...
Function pointers can be used for a wide variety of applications including the implementation of state machines. Just like any tool, it may not always be appropriate to use function pointers for a ...
State machines are so common that there are tools devoted to creating them by drawing circles and arts. There are simulators that will recognize your state machine ...