   int roundedTemperature = round(temperature);
   int roundedDistance = round(distance);
 
+  char dataBuffer[TEMP_BUFFER_SIZE];
   snprintf(dataBuffer, TEMP_BUFFER_SIZE, "Test: %c %d %d",
     SENSOR_TYPE, roundedTemperature, roundedDistance);
 

  }
  sleepCount = 0;

  // Steps 2-6
  double temperature = takeThermReading();


  // -----------------------------
  rtc.begin();
  time_t unixTime = rtc.readDateTime();


  char dataBuffer[TEMP_BUFFER_SIZE];
  char smsBuffer[SMS_BUFFER_SIZE];


  // 13. Combine time, distance, and temperature into a single string.
