Controlling stepper motors with an IR receiver

Hey y'all I am trying to make an Arduino xylophone that has stepper motors with mallets striking the keys to create the first chorus to a song. I have the code written but for some reason when I hook everything up and then press the button on the IR remote only one motor jolts a little bit but other than that none of the other motors do anything including the first motor after the initial jolt. I don't know if its something in my code or not enough power or what might be wrong. thank you all for your help in advance and apologies in advance for so much code.

//www.elegoo.com
//2016.12.12

#include "Stepper.h"
#include "IRremote.h"

/*----- Variables, Pins -----*/
#define STEPS  256   // Number of steps per revolution of Internal shaft
int  Steps2Take;  // 2048 = 1 Revolution
int receiver = 1; // Signal Pin of IR receiver to Arduino Digital Pin 6

/*-----( Declare objects )-----*/
// Setup of proper sequencing for Motor Driver Pins
// In1, In2, In3, In4 in the sequence 1-3-2-4

Stepper small_stepper1(STEPS, 2, 3, 4, 5); // C
Stepper small_stepper2(STEPS, 6, 7, 8, 9); // D
Stepper small_stepper3(STEPS, 10, 11, 12, 13); // E
Stepper small_stepper4(STEPS, 14, 15, 16, 17); // F
Stepper small_stepper5(STEPS, 18, 19, 20, 21); // G
Stepper small_stepper6(STEPS, 22, 24, 26, 28); // A
Stepper small_stepper7(STEPS, 30, 256, 34, 36); // B
Stepper small_stepper8(STEPS, 38, 40, 42, 44); // C#/Db
Stepper small_stepper9(STEPS, 46, 48, 50, 52); // D#/Eb
Stepper small_stepper10(STEPS, 31, 33, 35, 37); // F#/Gb
Stepper small_stepper11(STEPS, 39, 41, 43, 45); // G#/Ab
Stepper small_stepper12(STEPS, 47, 49, 51, 53); // A#/Bb
IRrecv irrecv(receiver);    // create instance of 'irrecv'
decode_results results;     // create instance of 'decode_results'

void setup()
{ 
  irrecv.enableIRIn(); // Start the receiver
}

void loop()
{
if (irrecv.decode(&results)) // have we received an IR signal?

  {
    switch(results.value)

    { 

      case 0xFF6897: // 0 button pressed
                      small_stepper5.setSpeed(500); //Max seems to be 500 
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper7.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper7.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;                      
                      small_stepper7.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper7.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;

                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper1.step(Steps2Take);
                      delay(5); 
                      break;
                      
                      small_stepper7.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper7.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper6.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper6.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper7.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper7.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper6.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper6.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;

                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;

                       small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper1.step(Steps2Take);
                      delay(5); 
                      break;

                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;

                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5);
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper2.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  256;  // Rotate CW
                      small_stepper1.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper5.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper5.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper10.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper10.step(Steps2Take);
                      delay(5); 
                      break;
                      small_stepper3.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper3.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper2.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper2.step(Steps2Take); 
                      delay(5);
                      break;
                      small_stepper1.setSpeed(500); //Max seems to be 500
                      Steps2Take  =  -256;  // Rotate CCW
                      small_stepper1.step(Steps2Take); 
                      delay(5);
                      break;
                      
                
    }
    
      irrecv.resume(); // receive the next value
                 digitalWrite(2, LOW);
                 digitalWrite(3, LOW);
                 digitalWrite(4, LOW);
                 digitalWrite(5, LOW);
                 digitalWrite(6, LOW);
                 digitalWrite(7, LOW);
                 digitalWrite(8, LOW);
                 digitalWrite(9, LOW);
                 digitalWrite(10, LOW);
                 digitalWrite(11, LOW);
                 digitalWrite(12, LOW);
                 digitalWrite(13, LOW);
                 digitalWrite(14, LOW);
                 digitalWrite(15, LOW);
                 digitalWrite(16, LOW);
                 digitalWrite(17, LOW);  
                 digitalWrite(18, LOW);
                 digitalWrite(19, LOW);
                 digitalWrite(20, LOW);
                 digitalWrite(21, LOW);     
                 digitalWrite(22, LOW);
                 digitalWrite(24, LOW);
                 digitalWrite(26, LOW);
                 digitalWrite(28, LOW);
                 digitalWrite(30, LOW);
                 digitalWrite(256, LOW);
                 digitalWrite(34, LOW);
                 digitalWrite(36, LOW);
                 digitalWrite(38, LOW);
                 digitalWrite(40, LOW);
                 digitalWrite(42, LOW);
                 digitalWrite(44, LOW);
                 digitalWrite(46, LOW);
                 digitalWrite(48, LOW);
                 digitalWrite(50, LOW);
                 digitalWrite(52, LOW);
                 digitalWrite(31, LOW);
                 digitalWrite(33, LOW);
                 digitalWrite(35, LOW);
                 digitalWrite(37, LOW);
                 digitalWrite(39, LOW);
                 digitalWrite(41, LOW);
                 digitalWrite(43, LOW);
                 digitalWrite(45, LOW);
                 digitalWrite(47, LOW);
                 digitalWrite(49, LOW);
                 digitalWrite(51, LOW);
                 digitalWrite(53, LOW);
  }  


}/* --end main loop -- */

What do all your breaks do for you ? :thinking:

Im not really sure, its a code I found in a basic stepper tutorial that I just copied and pasted to adjust to make it my own. Im not sure if I even need them if thats what is causing the problem or not

Thanks for using code tags !


Stop what you are doing on this project right now and gain some experience with basic stuff first.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.