View Single Post
  #3   Spotlight this post!  
Unread 23-01-2013, 21:46
JCHS JCHS is offline
Registered User
FRC #3301
 
Join Date: Jan 2013
Location: Portland, IN
Posts: 9
JCHS is an unknown quantity at this point
Re: Toggling Buttons in Java

Alright. I'll have to try that tomorrow. I can't get to my robot right now because I'm home but that makes sense. I was trying to do everything in execute. Just for clarification in OI, I do whileHeld() for that button, then in the command I turn the motors on in execute, and off in interupted?

Thanks for the quick reply. I wasn't expecting that quick of a response. I'll let you know how it turns out.

Last edited by JCHS : 23-01-2013 at 21:53.
Reply With Quote