 
 }
 
-// --------------------MAIN------------------
+// ----------------------------------------------------------------------------------------
+// Function Name: loop()
+// Parameters:    None
+// Returns:       None
+// Description:   This is the main executing block of the program, calling all ancillary functions to operate the Arduino
 void loop(){
   //Serial.println("Getting Temperature Data...");
   //delay(100);

  }
}

boolean getSetPoint(){
  val = digitalRead(upPin);
  if (val == LOW) {

#include <DallasTemperature.h>

// --------------PARAMETERS---------------------
byte addrs[1][8] = {{16,24,64,68,0,8,0,112}}; // ,{16,206,166,130,2,8,0,63}
                                  // {16,24,64,68,0,8,0,112} Temp Sensor 1
                                  // {16,206,166,130,2,8,0,63} Temp Sensor 2
int busPin = 2;                   // Data bus for One Wire Comms
int upPin = 3;                    // Pin used to increase set temp
int downPin = 4;                  // Pin used to decrease set temp
int numOfDevices = 1;             // How many sensors are in loop
int high = 80;                    // This is the default high temp setting
int low = 70;                     // This is the default low temp setting
long currentTemp = 0.0;             // Highest or lowest temp depending on mode
