Quote:
|
Originally Posted by hobbes
|
Are you sure the robot is in autonomous mode and isn't disabled? The RC LED should be yellow and blinking. I know you said it blinks, just making sure its yellow. Which PWMs are you using?
In User_Autonomous_Code() they left out a call to Generate_Pwms(). That function sets the outputs for pwm13 - 16. If you're using one of those outputs then the value you set isn't getting sent to the motor. Insert the line "Generate_Pwms(pwm13,pwm14,pwm15,pwm16);" right before
"Putdata(&txdata);" in User_Autonomous_Code().
If that doesn't work, try putting a printf() in User_Autonomous_Code() to make sure that function is being executed.