View Single Post
  #1   Spotlight this post!  
Unread 31-07-2005, 17:15
supertw supertw is offline
Registered User
#1560
 
Join Date: Dec 2004
Location: California
Posts: 10
supertw will become famous soon enough
Help with limit mix

what's the point off adding 2000 to the following functions:

pwm01 = pwm03 = Limit_Mix(2000 + PWM_in1 + PWM_in2 - 127); /* LEFT WHEELS */
pwm02 = pwm04 = Limit_Mix(2000 + PWM_in2 - PWM_in1 + 127); /* RIGHT WHEELS */

the coding seems all fuzzy to me, i dont' get it