Oh! This is an old -- and solved -- problem. It doesn't have anything to do with what you wrote. The default code just fails to control the last four pwm outputs in the User_Autonomous_Code() function.
Quote:
|
Originally Posted by seanwitte
Insert the line "Generate_Pwms(pwm13,pwm14,pwm15,pwm16);" right before
"Putdata(&txdata);" in User_Autonomous_Code().
|
That should take care of it. (If you had said at the beginning that you weren't getting any response from the pwm outputs, we might have recognized it sooner.)