Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

embedded-statemachine

Defines a base class that can be used on more resource-constrained embedded systems to impliment simple state machines. Application-specific states and transition tests need to be defined in the derived class; the base class itself tracks changes in these states, simplifying the process of implementing state-entry and -exit logic.

Also included is a class which implements a 'tri-state' boolean datatype that can be used to track whether or not a flag variable has been initialised, and whether a rising or falling transition has occurred.

About

A simple state machine base class written for use on memory-constrained microcontrollers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages