two steppers together

I want to drive two steppers with the same arduino, I made the circuit on a breadboard with 2 L293 and this program:
#include <Stepper.h>
#define STEPS 400
Stepper stepper1(STEPS, 2, 3, 4, 5);
Stepper stepper2(STEPS, 8, 9, 10, 11);
int ledPin = 13;

void setup()
{
// set the speed of the motor to 60 RPMs
stepper1.setSpeed(60);
stepper2.setSpeed(60);
blink(3);
}

void loop()
{
stepper1.step(2000);
stepper2.step(1000);
delay (5000);
stepper1.step(-2000);
stepper2.step(2000);
delay (5000);
}

// Blink the reset LED:
void blink(int howManyTimes) {
int i;
for (i=0; i< howManyTimes; i++) {
digitalWrite(ledPin, HIGH);
delay(200);
digitalWrite(ledPin, LOW);
delay(200);
}
}
The two steppers are working, but sequencialy, not together. Someone know if it is possible to have it or not?

Yhank you

it's possible, but you will have to interleave the steps for the two motors yourself.

As your code is the first stepper will do 2000 steps, then the second will do 1000

you could do something like this

for (int X =1; X<1000;X++)
{
stepper1.step(2);
stepper2.step(1);
}

Hi, I have the same problem, I found this so far....

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1193623343

It's about a timer... But I don't have a lot of programmer experience... But if you get it working( or if I do... ), will you please share your code.

Thanks in advance,

Rob.

Thank you for the answers. I will try the first solution. For the second proposition, the library don't work on my computer and I can't reach the autor, if you have suggestion?