Pololu Motor Controller
jeffrey morris
Posts: 52
I got the Pololu Micro Dual Serial Motor Controller. I'm confused by the instructions on sending commands to the motor controller. I can get one motor to run at a time. How can I get two motors to run at same time?
bs2
406B
Comments
Where you have one serial command like: "SEROUT 14,84,[noparse][[/noparse]$80,0,0,speed]", just follow it with the serial command for the second motor.
FOR speed = 0 TO 127
SEROUT 14,84,[noparse][[/noparse]$80,0,0,speed]
SEROUT 14,84,[noparse][[/noparse]$80,0,2,speed]
PAUSE 20
NEXT
That should get both motors running at the same time.
Rick