06-26-2021 01:36 PM
I have a program that it is basically a state machine that opens and closes different valves with certain time delays. I need to implement another state machine in the same program that does the the same except two states of the implemented state machine and I need to be able to switch between them. What is the best way to go about it?
Solved! Go to Solution.
06-26-2021 01:50 PM
Keep the bulk of the state machine as is and use case structures where the code differs.
(I assume that only one is supposed to run at any given time).