5V stepper motor doesn't spins!

i’ve made this simple programming to test them:

#include <CustomStepper.h>
CustomStepper motor1(10,11,12,13);
void setup(){
  motor1.setSPR(64);
  motor1.setRPM(10);
  motor1.setDirection(CW);
}
void loop(){
  motor1.rotateDegrees(360);
  motor1.run();
}

But the motor is only making noise, and some vibration, i’m sure that all the wiring are connected fine, so i suspect is something on the programming, anyone knows the problem?

Often this means that two of your stepper motor wires are swapped.

i've just solved the problem, actually, the programming was incorrect, thanks!

Care to elaborate ? (for the sake of others who read this post , so they won't have wasted their time )