 #include <avr/io.h>
 #include <SoftwareSerial.h>
 
+#define FILENAME "PELLET_Cage12.csv"
 
 #define DISPLAY_SERIAL_RX_PIN 255 // we don't need a receive pin, 255 indicates this
 // Connect the Arduino pin 3 to the rx pin on the 7 segment display

  }

  motor.setSpeed(35);
  delay (500);
}

void loop()

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

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