StateMachineFramework

Lightweight table-driven state machine framework built on TaskScheduler.

Author
Anatoli Arkhipenko
Website
https://github.com/arkhipenko/StateMachine
Category
Other
License
BSD 3 Clause
Library Type
Contributed
Architectures
Any

Provides cooperative multitasking state machines with three core abstractions: smAction (state behavior with onEnter/onRun/onExit lifecycle), smState (action wrapper with TaskScheduler integration), and smMachine (transition orchestrator using table-driven {fromState, exitCode, toState} transitions). Supports device abstraction via smDevice interface, configurable execution intervals, and standard exit codes for common conditions.

Downloads

Filename Release Date File Size
StateMachineFramework-1.0.2.zip 2026-01-22 33.07 KiB
StateMachineFramework-1.0.1.zip 2026-01-22 31.07 KiB