View Single Post
  #9   Spotlight this post!  
Unread 16-02-2004, 12:01
Phil_Lutz's Avatar
Phil_Lutz Phil_Lutz is offline
Phil Lutz
#0851 (Froggers)
Team Role: Mentor
 
Join Date: Jan 2004
Location: El Segundo, CA
Posts: 67
Phil_Lutz is on a distinguished road
Send a message via Yahoo to Phil_Lutz
Re: Please help asap.. Where do the victor motor 3 pin wires plug into

Plug the one end into the Victor with the black wire closest to the fan.
Plug the other end into a set of 3pins on the Robot controller that is labeled PWM Outputs.
The number of the PWM (1-16) is the number you need to use in the code to control that particular speed controller.

ie.
We have a Victor for the left drive that is conected to PWM16
The right Drive motor connected to PWM15.

In Our code we say
Code:
 pwm15 = 254;
 pwm16 = 0;    // reversed due to motors pointing opposite.
and our robot will go forward at full speed.

If we plugged the motors into pwm1 and pwm2, and used the above code, the robot would not be sending the signals to the right jacks.

Hope this helps.
Remember frustration will just frustrate you farther and nothing will get accomplished.
Reading the documentation is always a good idea and will assist in clarifying what you are trying to do.

Phil