Yes! Thanks it worked!

If your motor vibrates but does not turn, it is probably connected with the wrong sequence.

You can try which one works:

Stepper stepper(STEPS,D0,D1,D2,D3);

// Stepper stepper(STEPS,D0,D1,D3,D2);

// Stepper stepper(STEPS,D0,D2,D1,D3);

// Stepper stepper(STEPS,D0,D2,D3,D1);

// Stepper stepper(STEPS,D0,D3,D1,D2);

// Stepper stepper(STEPS,D0,D3,D2,D1);

// Stepper stepper(STEPS,D1,D0,D2,D3);

// Stepper stepper(STEPS,D1,D0,D3,D2);

// Stepper stepper(STEPS,D1,D2,D0,D3);

// Stepper stepper(STEPS,D1,D2,D3,D0);

// Stepper stepper(STEPS,D1,D3,D0,D2);

// Stepper stepper(STEPS,D1,D3,D2,D0);

// Stepper stepper(STEPS,D2,D0,D1,D3);

// Stepper stepper(STEPS,D2,D0,D3,D1);

// Stepper stepper(STEPS,D2,D1,D0,D3);

// Stepper stepper(STEPS,D2,D1,D3,D0);

// Stepper stepper(STEPS,D2,D3,D0,D1);

// Stepper stepper(STEPS,D2,D3,D1,D0);

// Stepper stepper(STEPS,D3,D0,D1,D2);

// Stepper stepper(STEPS,D3,D0,D2,D1);

// Stepper stepper(STEPS,D3,D1,D0,D2);

// Stepper stepper(STEPS,D3,D1,D2,D0);

// Stepper stepper(STEPS,D3,D2,D0,D1);

// Stepper stepper(STEPS,D3,D2,D1,D0);