 int sum = 0;                    // sum of samples taken
 unsigned int sample_count = 0; // current sample number
 float voltage = 0.0;            // calculated voltage
+int volt_pin = A3;
 
 // Convert normal decimal numbers to binary coded decimal
 byte decToBcd(byte val)

   and http://tronixstuff.com/2014/12/01/tutorial-using-ds1307-and-ds3231-real-time-clock-modules-with-arduino/ using the clock
   and https://github.com/OSBSS/TRH/blob/master/TRH.ino main code body
   and https://github.com/jarzebski/Arduino-DS3231 library we use for clock interrupts
   and https://github.com/sirleech/TrueRandom for UUID
   and https://startingelectronics.org/articles/arduino/measuring-voltage-with-arduino/ for voltage sensor
   and was modified to save the temperature, in fahrenheit, and time data to a microSD card


    Serial.print(voltage);
    Serial.println (" V");
#endif    

#if DEBUG_TO_SD
    write_Text_To_Disk(" "+String(voltage)+"\n");
#endif                             
    //we finally hit the specified number of minutes to run, log & reset 
    timeCount = 0;
    temperature = getTemp();
    delay(5);

    //temp, voltage
    append_Temp_To_Disk(temperature);
    write_Text_To_Disk(" "+String(voltage)+"\n");
    freeRam();
    //free memory
//    write_Text_To_Disk(", "+String(freeRam()) + "\n");
#if DEBUG_TO_SD
    write_Text_To_Disk(" "+String(voltage)+"\n");
#endif
    voltage = -5000;
    
#if DEBUG
