Thank you very much for you quick response. I now remember reading that somewhere.....duh!
I know have another question.
I understand that I can not turn on two different stepper motors at the same time. To simulate the look and feel of both I must interlace them stepping.
for (int i=0; i<200; i++)
motor1.step(1, FORWARD, SINGLE);
motor2.step(1, FORWARD, SINGLE);
What I am trying to do is home a X and Y axis table. At power up of the table it will not know where the table is. I would like to have both the X and Y stepper motors jog until a switch is made. I can make it work by doing it one at a time, but I would relly like for both to move toghter. Right now I have this, which does one at a time:
while (digitalRead (XhomeSwitch) == HIGH)
XaxisMotor.step (1, FORWARD, DOUBLE);
while (digitalRead (YhomeSwitch) == HIGH)
YaxisMotor.step (1, FORWARD, DOUBLE);
I m just not sure which stlye loop to use or how to nest them.