FIRST Tech Challenge Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect four motors to one button

I am trying to control four DC motors with one button. I can't even figure out how to add the move motor and get the drop down to choose from 'group or multi'. I can only seem to add a block to control one motor.

Help!

0 Kudos
Message 1 of 2
(3,207 Views)

Working with DC motors the software will only allow you to write to two motors with one icon.  You will have to have the motors setup in the schematic editor or know the addresses to do this.  I have attached a screen shot of what that might look like (we only have two dc motors setup so I copied the constants).  I will caution that controlling DC motors with a button is sometimes problematic, it is normally done with a joystick axis.

4 dc motors.JPG

-Steve

FTC Team 4150

Mentor

0 Kudos
Message 2 of 2
(2,726 Views)