Thread: Motor Sequence?
View Single Post
  #2   Spotlight this post!  
Unread 19-02-2012, 13:28
jase728 jase728 is offline
Registered User
AKA: Jase728
FRC #3210 (Falcons)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Hillsboro
Posts: 11
jase728 is an unknown quantity at this point
Re: Motor Sequence?

Well if you are coding in Java I can help you

so in the teleop continuous phase use these lines of code:

if(joystick.getRawButton(BUTTON_NUMBER))
{
jaguarName.set(MOTOR SPEED)
}

if(joystick.getRawButton(NEW BUTTON_NUMBER))
{
jaguarName.set(0)
}
__________________
"In theory there is reality, but in reality there is no theory" - Erich Keane (FRC 2010 Build Season - Team 3210)
Reply With Quote