|
Re: Toggle Motor Using Button
I forgot to point out that you just want to place the code from inside the loop into your TeleOp. If you put an infinite while loop in Teleop, it messes with the framework and you won't process joysticks or move as you are supposed to.
And the Toggle VI worked well and is simpler than what I wrote. They are equivalent functionally.
Greg McKaskle
|