
Re: Motors & Sensors Setup
Hello jokai,
When you say you have the motors Y'd together, do you mean you are running a cable splitter from one port to two motors? If so, I'd be a bit careful; running more than one motor from a port can create a higher current load on the fuses inside the Cortex (which can cause it to trip if overheated). Also, if you have two motors spliced into one port, it will send the same signal to both of them at the same time; so as you rotate one motor, the other will rotate as well.
Generally with Y splitters we recommend running two of the same motors for this very reason; you don't have to select in the code between the two. Since both are using the same PWM for speed control and the same voltage levels, you can safely pick either one in the Motors and Sensors setup window HOWEVER the selection ties the motors to specific encoders, which brings me to my next point.
The encoder box tells the microcontroller that there is a shaft encoder in use and which port it is in. If you plan on using encoders on both of your motors, you will want to give each motor its own port on the microcontroller and tie each one to an encoder in ROBOTC. You can select either quadrature encoder or I2C (IME) encoders and tell ROBOTC which port it is plugged into.
There is actually a good post on splitting the two motors on the VEX forums you might want to check out:
http://www.vexforum.com/showthread.php?t=33472We also have a informative programming guide for the IME's on our wiki:
http://www.robotc.net/wiki/Tutorials/Pr ... er_ModulesLet us know if you have any other questions!
_________________Check out our
Blog! And our
Facebook page!
Need help? Take a look at our
Wiki and our
Forums.I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe? ~ Carly Rae Jepsen parody