|
Re: PWM Problem with Default Code
The cables are all correct, we have the robot driving fine with the code that shipped on the the RC. Its only when I download a different .hex file where things change, even the one that came with the code, default.hex.
It has to be something internal because the lights on the OI for PWM1 are mapped to the x axis and not the y axis like they should be.
Also, when I open dashboard, the code that shipped on the robot is fine, any new code i can watch the values for PWM13 and PWM15 and as I push the joystick forward they both should climb to 255 and they do not, one goes to 255 and the other goes to 0. If i push right both climb to 255 and if I push left they both climb to 0. This indicates that in the program somewhere the x and y axis are getting swapped. This completely rules out any wiring or calibration issues.
|