Quote:
Originally Posted by Alan Anderson
Do you mean "8 bit"? Yes, the pwms are 8-bit values, but they're defined to have 127 as neutral and go +/- 127 from there.
There aren't any joystick serial inputs. Did you mean "game port"? The joystick values are typically set up with 127 being neutral as well. I can't remember whether 255 is a possible value, but it works to assume the valid joystick range matches the valid pwm range.
|
ours is set up with 255 being full power forward, 127 being neutral and 0 being full reverse
the program also sets it up for the wheels on either side to be linked with each other, so it can be either side (one wheel from each axel) being controlled