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 ...
If you're into robotics or electronics, you've likely come across Arduino—a small microcontroller that can control sensors and motors for nifty DIY projects. Like the Raspberry Pi, the Arduino is ...
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 ...