Making time for my next small Arduino project, I need to do something with the rotary encoder direction information decoded by this software. A state machine is what I need, but how to implement it?
Statechart is an Arduino library for building Hierarchical State Machines (HSMs) in C++11. States, transitions, guards, and actions are registered once in setup() using a fluent builder API. Events ...
ESPStateMachine is a typed, flat finite-state machine helper for ESP32 firmware. It models runtime behavior after your modules are already initialized: device modes, connection flows, update phases, ...