   }
   else {
     digitalWrite(solenoidPins[shooterNum],HIGH); //Activate the solenoid: open the passage
+    digitalWrite(ledPins[shooterNum],HIGH); //Turn on the respective LED
 
     ballReleaseTimer[shooterNum]=millis()+ballReleaseTime; //Set the timer for deactivating the solenoid
     ballReleasing[shooterNum]=1; //Indicate that we are releasing a ball

}




#endif
    //Send error feedback to laptop
    sendMessage(0xE0,commandID);
    digitalWrite(ledPinsY[1],HIGH); //Light up the error LED
  }
}

