     Serial.println("error opening for reading");
   }
 }
-
-int counter = 0;
 
 // Append int value to file
 void logToFile(char* filename, int value)

    myFile.print(" ");
    myFile.print(hour());
    myFile.print(" ");
    myFile.print(minute());
    myFile.close();
    
    Serial.println("done.");

  return true;
}

boolean trigger_button = false;
void buttonInterrupt()
{
  trigger_button = true;
}

void updateTemperatures()
{
  tempA = thermistorA.getReading();
  tempB = thermistorB.getReading();
}

// Read and record data to log files
