   setDisplayBrightness(64);
   clearDisplay();
   delay(1); // allow a very short delay for display response
-  setDisplayValues(pelletCount);
+  setDisplayValues(pelletCount[0]);
   for (int i = 0; i < sizeof(PHOTO_INTERRUPTER_PINS); i++)
   { pinMode(PHOTO_INTERRUPTER_PINS[i], INPUT); }
   pinMode(TTL_DEBUG_PIN, OUTPUT);

int PIStates[] = { 1 };
int lastStates[] = { 1 };

int pelletCount[] = 0;

// Stepper motor with shield test
//Adafruit_MotorShield gMotorShield = Adafruit_MotorShield();

    Serial.println(time);
    dataFile.print(time);
    dataFile.print(",");
    for (int i = 0; i < sizeof(pelletCount); i++)
    {
      dataFile.print(pelletCount[i]);
      dataFile.print(",");
    }
    dataFile.println(timeElapsed);
    dataFile.close();
  }
