Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

motor shield running two steppers at once
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

motor shield running two steppers at once

by bobaloo on Thu Aug 07, 2008 1:34 am

I'm making a laser pointer break out-like game, so I got my motor shield running - very cool! Now I'm trying to run two steppers simultaneously.

Do I need

AF_Stepper motor(48, 2);
and
AF_Stepper motor(48, 1); in the header?

And then, how do I tell my arduino which motor to address in the command? As you can probably tell, all this is new to me, but I'm totally exited anytime I make any kind of forward progress. Thanks. ~ bob
bobaloo
 
Posts: 6
Joined: Thu Aug 07, 2008 1:11 am
Location: Silicon Valley, California

by adafruit on Thu Aug 07, 2008 1:35 am


adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

by bobaloo on Thu Aug 07, 2008 1:47 am

Wow - Thanks for the immediate response! ~ bob
bobaloo
 
Posts: 6
Joined: Thu Aug 07, 2008 1:11 am
Location: Silicon Valley, California

Please be positive and constructive with your questions and comments.