   }*/ 
 
   delay(500);
+
+  //setup photointerrupter vals
+  for (int i = 0; i < 2; i++)
+  { PIStates[i] = digitalRead(PHOTO_INTERRUPTER_PINS[i]); lastStates[i] = PIStates[i]; }
 }
 
 void loop() {

  Serial.begin(9600);
  Serial.println(F("Starting up..."));

  //motor shield stuff
  


    Serial.print(String(inputNum + 1));
    Serial.print(F(" taken: "));
    Serial.println(String(pelletCount[inputNum]));
    
    updateDisplay();
  }
  else if (PIStates[inputNum] == 1) {
    //need to replace pellet
