   tempCinside = getdalastemp();
   displayTemperature(tempCinside);
   displaytimeleft();
-  Serial.println(digitalRead(PIR_IN_PIN));
+  if (DEBUG_PRINT) {
+    Serial.println(digitalRead(PIR_IN_PIN));
+  }
 }
 
 // update every 5 mins

  lcd.setCursor(0, 1);
  lcd.print("OFF: done");

  int tvOffTime = initialise_number_select(5, 20, 10, 5);
  alarm_set();

  //
  int initialise_eeprom_done =  initialise_eeprom(pwrSrc, wrkMode, startMode, beepMode, offMode, channelGap, tvOnTime, tvOffTime) ;

  while (initialise_eeprom_done != 1 ) { }

  lcd.clear();
  lcd.setCursor(0, 0);

  lcd.setCursor(0, 1);
  lcd.print("OFF: done");

  o_channelGap = initialise_number_select(1, 5, 1, 1);
  alarm_set();

  lcd.clear();
