     uint16_t newDist = tof * (( 20.05 * sqrt( temperature + 273.15))/2);
     distance = newDist;
   }
-//  digitalWrite(TEMP_SENSOR_ENABLE, LOW);
-
   return distance; 
 }
 

    0, 0, 0, 0, 0, 0, 0, 0, 0 };

  float temperature = 0.0;
    
//  digitalWrite(TEMP_SENSOR_ENABLE, HIGH);
  digitalWrite(SENSOR_ENABLE, HIGH);
  delay(50);

  while( i < arraysize )
  {								    
    pulse = pulseIn(SENSOR_PIN, HIGH);  // read in time for pin to transition
    if( pulse == 0 ) return 0;
    rangevalue[i]=pulse/58;         // pulses to centimeters (use 147 for inches)

  {
    if (!enterCommandMode()) return 1;
  }
  // Use D9 & D10 links to determine polling interval
  // TODO
  //if (!sendCommand("ATSDDBBA0")) return 2;	// 15 minutes
  //if (!sendCommand("ATSD927C0")) return 2;	// 10 minutes
  if (!sendCommand("ATSD493E0")) return 2;	// 5 minutes
