Toggling between modes

Our team has gotten the basic functions down for tank control, and a button to run a certain motor, etc, but were having trouble with another part. It’s kind of confusing but i’ll try to explain what were aimed for.

When the trigger on the joystick (button 1) is NOT pressed, the forward/back axis (axis 2) will control one motor.
When the trigger on the joystick is pressed, the forward/back axis, will control both motors.

Hi there!

If I’m understanding you correctly, then it seems you could do something like this:

http://img204.imageshack.us/img204/9532/66805904nk0.jpg

http://img220.imageshack.us/img220/7011/69326772qu5.jpg

If you have any questions, feel free to ask!

  • Austin

Looks like a good starting point to me.

Greg McKaskle

Thanks! Exactly what i was looking for.