Yet Another Finite State Machine
The YA_FSM library implements a Petri net inspired finite state machine with states, transitions and actions. FSM machine modelled with GRAPCET / SFC diagram can be easily translated to C++ code. State callback functions are also supported.

Author: Tolentino Cotesta

Maintainer: Tolentino Cotesta

Read the documentation


This library is compatible with all architectures so you should be able to use it on all the Arduino boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.