   dataFile.print(second);
   dataFile.print(",");
   dataFile.print(temp);
-  dataFile.print(",");
+  dataFile.print("\n");
   dataFile.close();
 
 #if DEBUG

/*
  This code logs the temperature from a DS18B20 temperature sensor
  and prints the temperature along with a time stamp and unique A2 using a
  DS3231 Clock and a SparkFun microSD Transflash Breakout
  It also reads and logs the voltage

  This uses code from http://bildr.org/2011/07/ds18b20-arduino/
   and https://learn.sparkfun.com/tutorials/microsd-shield-and-sd-breakout-hookup-guide sd card code
   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 A2
   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

  @author Humane Interface Design Enterprise, Michigan Tech

const int DS18S20_Pin = 2; //DS18S20 Signal pin on digital 2
OneWire ds(DS18S20_Pin); // on digital pin 2
float temperature = -12345;

// Convert normal decimal numbers to binary coded decimal
byte decToBcd(byte val)
