Quote:
Originally Posted by AmoryG
What I don't understand is where is the code that says if(x-axis + y-axis < 0) motors = 0 or there the other way around if it's more than 255?
|
Look at the Limit_Mix() function. Doing that is the whole reason it exists. It
limits the result of
mixing the x and y axes of the joystick. The extra 2000 can be a little confusing, but I expect that you now understand why it is there.