Controlling the speed of a 28BYJ-48 stepper motor

raschemmel:
@tefras14,
Did you use this example tutorial ?
http://www.electrodragon.com/w/index.php?title=ULN2003_board

I used this example most because i want a constant speed until i accelerate or decelerate.

#include <AccelStepper.h>

AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5

void setup()
{  
   stepper.setMaxSpeed(1000);
   stepper.setSpeed(50);	
}

void loop()
{  
   stepper.runSpeed();
}