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

filename has to be short :\ *NOTE*

*/
#include <SD.h> // Modified SD.cpp in SD library to allow for multiple SD.begin() calls
// Add to Line 343 of SD.cpp: 'if (root.isOpen()) {root.close();}'

#include <Time.h>
#include <TimeAlarms.h>
#include <Wire.h>
#include <DS1307RTC.h>

#include <ThermistorSensor.h>

// Thermistor Setup
// which analog pins to connect
#define THERMISTOR_PIN_A A0
#define THERMISTOR_PIN_B A1

// Thermistor objects and temperature variables
ThermistorSensor thermistorA(THERMISTOR_PIN_A);
ThermistorSensor thermistorB(THERMISTOR_PIN_B);

#define FILENAME "mtest.txt"
File myFile;

void readFileToSerial(char* filename)

  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
