View Single Post
  #7   Spotlight this post!  
Unread 04-02-2013, 17:26
BenGrapevine's Avatar
BenGrapevine BenGrapevine is offline
Head Programmer
AKA: Tony Simmering
FRC #2549 (Millerbots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Minneapolis, Minnesota
Posts: 46
BenGrapevine is an unknown quantity at this point
Re: Toggle Motor Using Button

Quote:
Originally Posted by Greg McKaskle View Post
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
I went with bv's and it works fine, thanks for the help.
__________________
Millerbots Team 2549
orange and blue
Reply With Quote