View Single Post
  #15   Spotlight this post!  
Unread 03-02-2007, 15:14
Manoel's Avatar
Manoel Manoel is offline
Registered User
FRC #0383 (Brazilian Machine)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Porto Alegre, RS, Brazil
Posts: 608
Manoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond repute
Send a message via ICQ to Manoel Send a message via MSN to Manoel
Re: PWM Problem with Default Code

Quote:
Originally Posted by kbregler View Post
...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