How can i program a cim motor to run continuously with one button on the joystick and to stop with another button?
Any help is appreciated!
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)
}
Thanks but we are using LabVIEW
I think the attached will work.
*
Thanks, but does the motor have to be connected to the program?
And what connects to the right side of the wire furthest to the right?
Yes, the output of the upper T/F selector is wired to the Output value of Motor Set Output.