Nuacht

This library allows you to quickly setup a State Machine. Read here what a state machine is and why a state machine is neat for hardware projects. It has been tested with Arduino, ESP8266 and ESP32 ...
YouTube channel How To Mechatronics has created a great tutorial with full instructions on how to create your very own Arduino powered 3D wire bending machine.
However, the Arduino compiler tends to convert smaller switch/case structures into if/then assembler. With Arduino C, small if/then state-machines generally come out smaller a switch/case version.
For small systems (like an Arduino) you might want something a lot simpler. Object Oriented State Machine Operating System (OOSMOS) is a single-file and highly portable operating system, and it ...