View Single Post
  #3   Spotlight this post!  
Unread 08-02-2014, 10:45
vandle879 vandle879 is offline
Registered User
FRC #0558
 
Join Date: Feb 2014
Location: Connecticut
Posts: 2
vandle879 is an unknown quantity at this point
Re: Toggle When Pressed Option

Quote:
Originally Posted by notmattlythgoe View Post
I'm assuming it doesn't use the end() but the interrupted() method. The whileHeld() method cancels the command that was running, so I'd assume the toggle would do the same thing.
Finally got around to trying this out on a cRIO and you were right the interrupted method is what is used to toggle the command.

Thanks for the help!
Reply With Quote