 int tvPowerStatus;
 
 // Timer status
-int timerStatus = 0 ;
+int timerStatus = 0;
 
 // tv IR code
 unsigned long tv_input = 0x20DFD02F;


  // event Timer
  int TempCEvent      = t.every(2000, doUpdateTempC);
  int TempCArrayEvent = t.every(4000, doUpdateTempCArray);
  /*
  int updateTempCArrayEvent = t.every(300000, doUpdateTempCArray);
  */

}


void loop()
{

  tempCinside = getdalastemp();
  displayTemperature(tempCinside);
  displaytimeleft();
  Serial.println(digitalRead(PIR_IN_PIN));
}

// update every 5 mins
