 String floatToString(float number, int precision)
 {
   String stringNumber = "";
-  //int prec;
-  //only temperature (case 1) has a decimal place
-  //if (sampleType == 1) prec = 1; else prec = 0;
   char tempChar[10];
   dtostrf(number, 1, precision, tempChar);
   stringNumber += tempChar;

    delay(100); // ToDo: Insert a DHCP timeout!
  }
  ip = 0;
  // Try looking up the website's IP address
  Serial.print(WEBSITE); Serial.print(F(" -> "));
  while (ip == 0) {
    if (! cc3000.getHostByName(WEBSITE, &ip)) {


  Serial.println(F("-------------------------------------"));
  
  unsigned long lastRead = millis();
  while (client.connected() && (millis() - lastRead < IDLE_TIMEOUT_MS)) {
    while (client.available()) {
