 #endif
       //Send unrecognized shooter num feedback to laptop
       sendMessage(0xE1,shooterNum);
+      digitalWrite(ledPinsY[2],HIGH); //Light up the error LED
     }
   }
 }

    if (ballReleasing[i]==1){ //If a ball is currently being released
      if (millis()>ballReleaseTimer[i]){ //If enough time has passed
        digitalWrite(solenoidPins[i],LOW); //Deactivate the solenoid: close the passage
        ballReleasing[i]=0; //Indicate that the ball is no longer being released
#if DEBUG==1
        Serial.print("Deactivating solenoid: ");

  servo1.attach(pinServo1,429,2571); //Include the maximum and minimum pulse widths.
  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));
      num=num*0.93;
      digitalWrite(ledPinsY[j],LOW);
    }
    for (byte j=3;j>0;j--){
      digitalWrite(ledPins[j],HIGH);
      delay(round(num));
      num=num*0.93;
      digitalWrite(ledPins[j],LOW);
    }
  }

  //Set all servos to 90 degrees
  servo1.write(90+offset[1]);
  servo2.write(90+offset[2]);
  servo3.write(90+offset[3]);

  //Wait until 'Game Start' button is pressed
  //add here later
  //Send 'Game Start' message to laptop
  sendMessage(0x80);
