 
 #include <Wire.h>
 #include "RTClib.h"
+#include <SPI.h>
+#include <SD.h>
 
 RTC_DS1307 rtc;
 

  unsigned long time = millis();
 String date = rtc_time(); 
 Serial.print(date);

  while ((millis() - time) < 1500) {
    delay(1501-(millis() - time));

  for (int i=0; i < num_probes; i++) {
    String res = read_atlas(atlas[i]);
    Serial.print("\t" + res);
    outputFile.print("\t" + res);
  }
  Wire.flush();

  outputFile.println();
  outputFile.flush();
  Serial.println();
  delay(5000);
}
