|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Using shared variables instead of global variables
I don't see the connection between state machines and global variables. A state machine keeps its own state, and shouldn't need to share it with anything else, right?
If it's just persistent storage you're looking for, I suggest putting the state machine inside a single-run While with a shift register. There are at least three other ways I can think of to do what I assume you want, including local variables. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|