Without seeing the link to the datasheet for your stepper motor how can we say?
...R Stepper Motor Basics Simple Stepper Code