Quote:
|
Originally Posted by silliewillie
Thanks, we'll try that, though we're still a little confused why the code is outputting the joystick values to PWM 1,5,11, and 12. Is that what it's doing for everyone? When looking at the code it seemed like the motors should be plugged into 13-16.
|
The joystick values are copied to the low pwm outputs by the default code. Those are appropriate for dual-joystick "tank" control. For single-joystick control, the comments in default code version 2.4 do say to use pwm13-pwm16, but the actual code controls pwm11 and pwm12. (I assume the change was made because pwm13-pwm16 get a bit twitchy when there are a lot of interrupts going on.)