View Single Post
  #5   Spotlight this post!  
Unread 01-11-2005, 19:03
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: programming motors with programming kit

Quote:
Originally Posted by Morenoh149
just clearing up. Is this right?
I'm working from memory here, I won't bet my pay check on what I am about to say, but I believe I am correct.

You will need to set that line to:
Code:
Setup_Who_Controls_Pwms(MASTER,MASTER,MASTER,MASTER,MASTER,MASTER,MASTER,MASTER)
This will cause the master processor to handle the PWM signal generation. If left at the value from the default code:
Code:
Setup_Who_Controls_Pwms(USER,USER,USER,USER,USER,USER,USER,USER);
then the user processor would have to generate the PWM signals. This means that you have to write the code yourself that will tell the user processor how PWMs should be created.
BTW, If I'm not mistaken, this line will also allow you to mix both USER and MASTER for the various PWM outputs. Thereby, having complete control over certain PWMs while allowing the master processor control the output of others.
Reply With Quote