 }
 
 void dbWrite(unsigned long currentTime, float currentTemp) {
-  // Generate time and date strings
-//  DateTime dt(currentTime);
-  // Set dateTime to the ISO8601 simple date format string.
-//  char dateTime[17];
-//  memset(dateTime, 0, 17);
-//  dateTime8601(dt.year(), dt.month(), dt.day(), dt.hour(), dt.minute(), dt.second(), dateTime);
-  
-  // Set date to just the year month and day of the ISO8601 simple date string.
-//  char date[9];
-//  memset(date, 0, 9);
-//  memcpy(date, dateTime, 8);
-  
-  // Set currentTimeStr to the string value of the current unix time (seconds since epoch).
-  char currentTimeStr[11]; // 32-bit int + null
-  sprintf(currentTimeStr, "%ld", currentTime); // Format unsigned long as decimal
-
-  // Generate string for the temperature reading.
-//  char temp[8*sizeof(unsigned long)+5];
-//  memset(temp, 0, 8*sizeof(unsigned long)+5);
-  
-  // Convert to fixed point string.  Using a proper float to string function
-  // like dtostrf takes too much program memory (~1.5kb) to use in this sketch.
-//  ultoa((unsigned long) currentTemp, temp, 10);
-//  int n = strlen(temp);
-//  temp[n] = '.';
-//  temp[n+1] = '0' + ((unsigned long) (currentTemp*10)) % 10;
-//  temp[n+2] = '0' + ((unsigned long) (currentTemp*100)) % 10;
-//  temp[n+3] = '0' + ((unsigned long) (currentTemp*1000)) % 10;
-
   // Resolve server IP address
   Serial.print(SERVER); 
   uint32_t ip = 0;

                                         SPI_CLOCK_DIV2);

// Other sketch configuration
#define     READING_DELAY_SECS     1      // Number of seconds to wait between readings.
#define     TIMEOUT_MS             15000  // How long to wait (in milliseconds) for a server connection to respond
#define     SERVER                "fremont"


  }
  client.close();
}

// Convert an array of bytes into a lower case hex string.
// Buffer MUST be two times the length of the input bytes array!
