     case '1':
       executeCommand(1,StringIn);
       break;
-      
+
     case 'B':
     case 'b':
     case '2':
       executeCommand(2,StringIn);
       break;
-      
+
     case 'C':
     case 'c':
     case '3':
       executeCommand(3,StringIn);
       break;
-      
+
     default:
       Serial.println("First character not recognized");
     }

const byte motorPins[] = {
  0,pinMotor1,pinMotor2,pinMotor3}; //A map for the solenoid pins
const byte motorLevel[] = {
  0,255,255,255}; //Individual PWM signal levels for each motor


// Global Variables

//This function releases one BB (hopefully) from shooter <shooterNum>
void releaseBall(byte shooterNum) {

  Serial.print("Releasing ball from shooter: ");
  Serial.println(shooterNum);

  if (shooterNum<1 || shooterNum>3) { //Check that the shooter number is valid
    Serial.print("Unrecognized shooter Num: ");
    Serial.println(shooterNum);
    //Send unrecognized shooter num feedback to laptop
    sendMessage(0xE1,shooterNum);
  }
  else{
    digitalWrite(solenoidPins[shooterNum],HIGH); //Activate the solenoid: open the passage

    ballReleaseTimer[shooterNum]=millis()+ballReleaseTime; //Set the timer for deactivating the solenoid
    ballReleasing[shooterNum]=1; //Indicate that we are releasing a ball
  }
}


/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
/*checkSolenoids
