|
Re: PWM Problem with Default Code
Quote:
Originally Posted by kbregler
...This indicates that in the program somewhere the x and y axis are getting swapped.
|
Quote:
|
Originally Posted by kbregler
Now I just need to figure out why the PWM1 light is mapped to the x axis.
|
The axes were kind of swapped by that code you just deleted (and using pwm05 as a temporary variable, terrible programming practice), so you should have fixed the PWM1 LEDs as well. Could you test it again?
__________________
Manoel Flores da Cunha
Mentor
Brazilian Machine
Team # 383
|