So today at vex we plugged one of our drive motor which is a 393 into port 1 and when we programmed it to go forward it would move. But when it was told to go backward it went forward. We even tried it with a sample program and it still dint work.
Trex,
Sorry you’re having this issue!
When you program your robot to drive forward, does it drive forward or does it drive backwards?
If the motor always drives the opposite direction that you want it to, then you can switch the orientation of the connector when you plug it into the Cortex. The motor can be plugged in with the black wire on “inside” or the red wire on the “inside”. Switching the orientation of the connector will reverse the direction that the motor spins when given a command.
If the motor is not switching directions at all (will only spin a single direction), then there are other problems afoot. If this is the case then you should post a copy of your code and a photo of your robot if possible.
Let me know if this helps,
Charles
The problem above is the problem that I am having. I can’t get a pic till later today, but here is the code.
task main (){
while(true)
{
Motor[port1] = vexRT[ch2]
Motor[port2] = vexRT[ch2]
Motor[port9] = vexRT[ch3]
Motor[port10] = vexRT[ch3]
}
}
My vex coach has been sick so we haven’t been able to to get you a picture. So what is wrong with the port?
I had our electrical team look into your issue and it sounds like you may have a faulty H-bridge. Please email our support team at [email protected] with your order number and a description of your problem (or a link to this thread). Depending on when you purchased your Cortex, it may still be under warranty if not, we may be able to repair it for a fee.
Sorry for the inconvenience,
Charles