|
Re: Desensitizing Joysticks
Exponential Function: simple sin(x) function:
amplitude = 2 * 127 (pwm max)
period = 4 * 127
make sure, as i forgot to in my previous post (above):
pwm = pwm - 127;
That way the origin is the middle of the null zone. makes for nice calculations.
__________________
<<<theoldmanskiba>>>
2003 Canadian Regional Delphi Driving Tomorrow's Technology Award winners
|