I've created a library for implementing a finite state machine called arduino-fsm. The library should soon be available in the LibraryManager. You can check out the source code on github. There's also a tutorial on humblecoder.com.
Does anybody use this library, or is there a more modern version or different FSM library I should be selecting for a new project?
scottmcphee:
or is there a more modern version or different FSM library I should be selecting for a new project?
Do you really need any library?
...R
Well, I'd prefer it, over writing large case statements, to use a good FSM framework instead.
My C skills are a bit rusty and the topic of writing FSM framework is in the "advanced" level of coding, I'd say.
A well-proven library is worth something because it's code that works.