   servo2.attach(pinServo2,429,2571);
   servo3.attach(pinServo3,429,2571);
 
+
   //Run a test pattern on the LEDs
+  
+
   float num = 200; //mS
-  for (byte i=0;i<7;i++){
-    for (byte j=1;j<4;j++){
-      digitalWrite(ledPinsY[j],HIGH);
-      delay(round(num));
+  for (byte i=0;i<6;i++){
+    for (byte z=1;z<4;z++){
+      digitalWrite(ledPinsY[z],HIGH);
+      delay(num);
       num=num*0.93;
-      digitalWrite(ledPinsY[j],LOW);
+      digitalWrite(ledPinsY[z],LOW);
     }
-    for (byte j=3;j>0;j--){
-      digitalWrite(ledPins[j],HIGH);
-      delay(round(num));
+    for (byte z=3;z>0;z--){
+      digitalWrite(ledPins[z],HIGH);
+      delay(num);
       num=num*0.93;
-      digitalWrite(ledPins[j],LOW);
+      digitalWrite(ledPins[z],LOW);
     }
   }
 
-  //Set all servos to 90 degrees
+
+
+
+    //Set all servos to 90 degrees
   servo1.write(90+offset[1]);
   servo2.write(90+offset[2]);
   servo3.write(90+offset[3]);

 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
 */
void setup(){
  // Constants
  /*******************************************************************************************/
  commandLength[1]=2;

#endif
}

/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
/*timedInterrupt
/*******************************************************************************************/
//timerNum tells whether to use Output Compare A, B or C (for shooters 1, 2 or 3)
//time tells the amount of time to set it for, in multiples of 62 uS. 547 gives 35mS.
void timedInterrupt(byte timerNum, unsigned int time){

  //Grab the current count from the timer
  unsigned int count = TCNT4L; //Read the low byte first;
  count += TCNT4H*256;
  //Add the time we wish to find
  count += time; //Set the the value entered

  //Set the value of count into the output compare registers
  *ptrOCR4H[timerNum] = count>>8; //High byte first
  *ptrOCR4L[timerNum] = count; //The low byte

  //Turn on interrupts for output compare on the required timer
  TIMSK4 |= _BV(OCIE4[timerNum]);
}

/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
/*Timer Interrupt Service Routines
/*******************************************************************************************/
ISR(TIMER4_COMPA_vect){
  //Turn off the interrupts
  TIMSK4 &= 255 - _BV(OCIE4A);

  digitalWrite(solenoidPins[1],LOW); //Deactivate the solenoid: close the BB passage
  digitalWrite(ledPins[1],LOW); //Turn off the respective LED
#if DEBUG==1
  Serial.println("Deactivating solenoid: 1");
#endif
}

ISR(TIMER4_COMPB_vect){
  //Turn off the interrupts
  TIMSK4 &= 255 - _BV(OCIE4B);

  digitalWrite(solenoidPins[2],LOW); //Deactivate the solenoid: close the BB passage
  digitalWrite(ledPins[2],LOW); //Turn off the respective LED
#if DEBUG==1
  Serial.println("Deactivating solenoid: 2");
#endif
}

ISR(TIMER4_COMPC_vect){
  //Turn off the interrupts
  TIMSK4 &= 255 - _BV(OCIE4C);

  digitalWrite(solenoidPins[3],LOW); //Deactivate the solenoid: close the BB passage
  digitalWrite(ledPins[3],LOW); //Turn off the respective LED
#if DEBUG==1
  Serial.println("Deactivating solenoid: 3");
#endif
}
