See the example code in AFMotor_MultiStepper.pde
On Wednesday, February 01, 2017 12:21:23 PM Dar Bahatt wrote:
> Hi-
>
> I want to use your MultiStepper class to control 2 (4 wire) stepper motors.
>
> I am using an Arduino Uno and the Adafruit Motor Shield V2.
>
> Your MultiStepper.pde (link following) requires the PWM pin numbers the
> stepper motors are connected to.
>
http://www.airspayce.com/mikem/arduino/AccelStepper/MultiStepper_8pde-exampl
> e.html
>
> According to Adafruit tech support there is no direct mapping of the
> Arduino PWM I/O pins
> to the motor controller chips as the communication is done through an I2C
> chip.
>
> Questions:
>
> 1. Is it possible to run your sample code on the Arduino Uno and the
> Adaft motor shield?
> 2. If yes, can you help with the pin mapping?
> 3. If not can it be done with an Arduino Uno and two Adafruit TB6612
--
Mike McCauley VK4AMM
mi...@airspayce.com
Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.airspayce.com
Phone
+61 7 5598-7474