 
 SoftwareSerial LEDserial = SoftwareSerial(DISPLAY_SERIAL_RX_PIN, DISPLAY_SERIAL_TX_PIN);
 SdFat SD;
-
 
 long previousMillis = 0;
 long startTime = 0;

  // the number of sucrose deliveries, the number of active and
  // inactive pokes, and the number of drinking well entries.

  dataFile = SD.open("PELLETJuly.csv", FILE_WRITE);
  if (dataFile) {
    Serial.println(F("File successfully written..."));
    Serial.println(time);

  }

  motor.setSpeed(35);
  setMotorToTurn();

  delay (500);
  
  // get ready for what the system should be doing
  PIState = digitalRead(PIPin);
  lastState = 0;
  
}

void loop()
