Friday, 12 January 2018

Arduino: switch/case of if/then(/else) for state machines

Making time for my next small Arduino project, I need to so something with the rotary encoder direction information decoded by this software. A state machine is what I need, but how to implement it? With my assembler code hat on, a programme counter jump-table is the obvious answer, but Arduinos use C and I ...

This story continues at Arduino: switch/case of if/then(/else) for state machines

Or just read more coverage at Electronics Weekly



from Electronics Weekly https://www.electronicsweekly.com/blogs/engineer-in-wonderland/arduino-switch-case-else-state-machines-2018-01/

No comments:

Post a Comment