   }
 }
 
+// ----------------------------------------------------------------------------------------
+// Function Name: getSetPoint()
+// Parameters:    None
+// Returns:       Boolean, True if the temperature has changed, else False
+// Description:   This function checks to see if the setpoint has been changed and adjusts it accordingly.
 boolean getSetPoint(){
   val = digitalRead(upPin);
   if (val == LOW) {

DeviceAddress insideThermometer = { 0x10, 0x39, 0xe2, 0x82, 0x02, 0x08, 0x00, 0x3e };



// --------------SETUP-----------------------
void setup(){

  pinMode(busPin,INPUT);

  
}

// ----------------------------------------------------------------------------------------
// Function Name: getTemp()
// Parameters:    None
// Returns:       Boolean, True if the temperature has changed, else False
// Description:   This function polls the temp sensors, retrieves the values, and then returns
boolean getTemp(){
  currentTemp = 0;
  long temp = 0;
  sensors.requestTemperatures(); // Send the command to the device to get temperatures
  
  // Go through devices and read the temperatures
  for(int x = 0; x < numOfDevices; x++){
    // ------------FOLLOWING LINES FOR TESTING ONLY
    //Serial.print("Sensor ");
