   { return String(i, DEC); }
 }
 
-/*void moveMotor(int motorNum)
+void moveMotor(int motorNum)
 {
     power_twi_enable();
-    stepperMotors[motorNum]->step(STEPS_TO_INCREMENT/2,FORWARD,DOUBLE);
-    stepperMotors[motorNum]->step(STEPS_TO_INCREMENT,BACKWARD,DOUBLE);
-    stepperMotors[motorNum]->release();
+    Adafruit_StepperMotor *motor;
+    if (motorNum = 0) { motor = motor1; }
+    else if (motorNum = 1) { motor = motor2; }
+    motor->step(STEPS_TO_INCREMENT/2,FORWARD,DOUBLE);
+    motor->step(STEPS_TO_INCREMENT,BACKWARD,DOUBLE);
+    motor->release();
     power_twi_disable();
 } //*/

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

{
  clearDisplay();
  delay(2);
  if (pelletCount[0] % 100 < 10)
  { LEDserial.write(0x79); LEDserial.write(1); }
  LEDserial.print(String(pelletCount[0]));
  if (pelletCount[1] % 100 < 10)
  { LEDserial.write(0x79); LEDserial.write(3); }
  LEDserial.print(String(pelletCount[1]));
}

void clearDisplay()
