 
 // Timer status
 int timerStatus = 0;
+
+// channel input selection delay ( smart tv need this)
+long channelselectiondelay = 3000;
 
 // tv IR code
 unsigned long tv_input = 0x20DFD02F;

Timer t;
long temp_Mills;
long pir_Mills;
int tvIsOnEvent;

// eeprom status
int o_pwrSrc;


  lcd.print(Temperature, 1);

  if ( ( second() % 2 ) == 0 ) {
    lcd.setCursor(15, 1);
    lcd.print(".");
  } else {
    lcd.setCursor(15, 1);
    lcd.print(" ");
  }


  if ( tempCprevious[0] != 100 ) {
