Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   PWM Problem with Default Code (http://www.chiefdelphi.com/forums/showthread.php?t=53304)

kbregler 03-02-2007 14:03

Re: PWM Problem with Default Code
 
Deleting those 2 lines of code seemed to fix the 1 joystick problem, thanks.

Now I just need to figure out why the PWM1 light is mapped to the x axis

Kevin

Manoel 03-02-2007 15:14

Re: PWM Problem with Default Code
 
Quote:

Originally Posted by kbregler (Post 570758)
...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?


All times are GMT -5. The time now is 23:49.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi