   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);
 }

int atlas[] = {0x61, 0x62, 0x63, 0x64};
int num_probes = 4;

void setup() {
  Serial.begin(9600);
  Wire.begin();
  rtc.begin();
  Serial.flush();
  Serial.println(F("\n\nDate\tTime\tDO\tORP\tpH\tEC\tTDS\tSAL\tSG"));
}


#include <Wire.h>
#include "RTClib.h"
#include <SPI.h>
#include <SD.h>

RTC_DS1307 rtc;

