|
Re: we need help with PWM problem in autonomous
in your code where it says
if (rc_dig_in13==0)
You need to put == 1 If you are looking for 0 that means you never pressed a button. If you press the stop button with your code it makes it 1, so it skips the if statement you want it to go to, and goes to the reverse one. I think I explained it ok, if I didnt, ley me know.
Joey
__________________
Driving Record - 75-43-8
Coaching Record - 92-65
|