Finite State Machine for multi-step criteria

The easiest way to program a multi step criteria entry/exit signal is to use a Finite State Machine (FSM). This is much easier than setting flags and then having to turn them on and off. Here is a diagram of a FSM:

A Simple FSM Diagram
A Simple FSM Diagram


Discover more from George Pruitt

Subscribe to get the latest posts sent to your email.

One thought on “Finite State Machine for multi-step criteria”

  1. George I just ordered your new book. I hope all is well with you and your family. It was good seeing you at your dads. Look for,ward to seeing you soon.

    Uncle John

Leave a Reply