 int setUpStatus;
 int wrkModeStatus;
 
+// tv power status
+int tvPowerStatus;
+
+// Timer status
+int timerStatus = 0 ;
+
 // tv IR code
 unsigned long tv_input = 0x20DFD02F;
 unsigned long tv_right = 0x20DF609F;

      lcd.write(3);
    }

    lcd.setCursor(4, 1);
    lcd.write(4);
  }


  // event Timer
  int updateTempCEvent      = t.every(2000, doUpdateTempC);
  int updateTempCArrayEvent = t.every(4000, doUpdateTempCArray);
  /*
  int updateTempCArrayEvent = t.every(300000, doUpdateTempCArray);
  */
  // PIR
  attachInterrupt(0, PIRCHECKING, CHANGE);
}

void PIRCHECKING()


  return tempC;
}

void alarm_set()
{
