while(1==1) { motor[port1]= vexRT(Ch2)-(Ch1); motor[port2]= vexRT(Ch2)-(Ch1); motor[port3]= vexRT(Ch2)+(Ch1); motor[port4]= vexRT(Ch2)+(Ch1); }}Is there any way in which when we turn our robot, motor ports 1 and 2 can move in reverse instead of not moving at all, so it can turn faster?

Thu Nov 12, 2009 7:37 pm

Jon_T

Rookie

Joined: Fri Oct 09, 2009 9:21 amPosts: 28

Re: battery expander

pinkpanther01 wrote:

does anybody know how you program the motors you plug in the battery expander?

The battery expander doesn't effect the programming at all. For instance if you wire from motor port 1 to input A on the expander and then output A on the expander to a motor, the motor will be controlled by programing motor[port1]. Note that on the expander all the white wires are toward the center.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum