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.