     logToFile("T_in.txt", tempA);
     logToFile("T_out.txt", tempB);
 
+    #ifdef SERIAL_OUTPUT
     Serial.println("time.txt: ");
     readFileToSerial("time.txt");
     Serial.println("T_in.txt: ");
     readFileToSerial("T_in.txt");
     Serial.println("T_out.txt: ");
     readFileToSerial("T_out.txt");
+    #endif
   }
   else {
     SDCardExists = false;

  pinMode(10, OUTPUT);

  if (!SD.begin(4)) {
    Serial.println("initialization failed!");
    return false;
  }
  Serial.println("initialization done.");
  return true;
}


  // Called like this to avoid SPI bus collision between SD & LCD
  if (trigger_logging)
  {
    #ifdef SERIAL_OUTPUT
    Serial.println("Trigger Button");
    #endif
    recordData();
    delay(250);
    lcd.clear();
