|
Re: joystick button
Break the problem down. First see if you can figure out how to read the joystick button.
Next use the Motor WPI VIs to set the motor speed to 0 or some nonzero value to control the speed.
Now put the two together so that the button Boolean selects one of two speeds.
If you want the button to be sticky, you need storage such as a feedback node, a shift register, or a variable.
If this doesn't help, ask for specifics on the part above you can't figure out.
Greg McKaskle
|