   // Initialize the library for temperature sensors
   sensors.begin();
   delay(100);
+  
   //read values, especially potentiometer values, incase of restart
   readValues();
   alertLevel = tempLimitPotValue;

unsigned long lastConnectionTime = 0;
const unsigned long updateThingSpeakInterval = 600000; //send values to thingspeak every 10 minutes

// Data wire of DS18B20 is plugged into digital pin 3


// Setup a oneWire instance to communicate with any OneWire devices
// (not just Maxim/Dallas temperature ICs)
OneWire oneWire(DALLAS_ONE_WIRE);

// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);

AM2320 th;

// Initialize the library with the numbers of the interface pins


void setup() {
  SERIAL_BEGIN(SERIAL_BAUD);
  servo1.attach(SERVOPIN);
  servo1.write(180);  // Turn servo1 at "home" position
  delay(2000);
  servo1.detach();

