Quote:
Originally Posted by [RSMT]sturm
We're using the default code and we are trying to make the motor turn using the pwm functions and the pwm outputs 13-16. We have our motor hooked up and all components working as intended up to that point as far as physical electrical connections.
|
When you use the default code you must connect your PWM cables to the specified PWM outputs on the RC. The joystick port is already mapped for you, to specific motor PWM outputs. The RC manual has a complete documentation of the default code. (See Page 6, PWM Output map, default code only)
From the manual...
"PWMs 13-16 are meant to
be used if one desires to
control the robot using only
one joystick. The left and
right drive motors are
controlled by mixing the X
and Y axes of
joystick 1."
Let us know if this helps.