Arduino library for implementing a finite state machine.
An arduino library for implementing a finite state machine.
Other than the examples included in the library, the following pages might be useful to you:
If you'd like to contribute to
arduino-fsmplease submit a pull-request on a feature branch.
2.2.0 - 25/10/2017
on_state()handler to states
run_machine()method to invoke machine execution (includes a
check_timed_transitions()call)
timed_switchoff.inoexample sketch to ilustrate new
on_state()and
run_machine()funcionality
make_transition()correctly initialices timed transitions start milliseconds (
make_transition()is now a fsm method)
on_enter()handler is now correctly executed on fsm first run
Serial.println(now);trace in Fsm.cpp
m_num_timed_transitions
2.1.0 - 21/11/2015
2.0.0 - 03/09/2015
1.0.0 - 24/12/2013