 bool updateState(int inputNum)
 {
   PIStates[inputNum] = digitalRead(PHOTO_INTERRUPTER_PINS[inputNum]);
-  //Serial.print("Photointerrupter State " + String(inputNum + 1) + ": ");
-  //Serial.println(PIStates[inputNum]);
 
   if (PIStates[inputNum] == 1  & PIStates[inputNum] != lastStates[inputNum]) {
     //pellet taken

    return false;
  }
  lastStates[inputNum] = PIStates[inputNum];
  return true; //*/
}

void enterSleep()

    Serial.print(String(inputNum + 1));
    Serial.println(F("..."));
    moveMotor(inputNum);
    delay(350);
  }
  
  else if (PIStates[inputNum] == 0 & PIStates[inputNum] != lastStates[inputNum]) {
