 DallasTemperature sensors(&oneWire);
 DeviceAddress insideThermometer;
 
-//
+// Temperature
 float tempCinside;
+float o_tempCinside;
+float c_tempCinside;
+
+// timer
 long startMills;
 long tv_off_Mills;
+long tempMills;
+long o_tempMills;
+
+// sw status
 int setUpStatus;
 int wrkModeStatus;
+
+// eeprom status
+boolean o_pwrSrc;  
+boolean o_wrkMode; 
+boolean o_startMode; 
+boolean o_beepMode; 
+boolean o_offMode; 
+int o_channelGap; 
+int o_tvOnTime; 
+int o_tvOffTime; 
 
 // lcd
 byte termometru[8] =

  eeprom_read(magic, magic);
  if ((magic != magic_number) || ( setUpStatus == 0 )) {
     run_initialise_setup();
  }


  // temp sensor
  sensors.begin();
  if (!sensors.getAddress(insideThermometer, 0)) Serial.println("Unable to find address for Device 0");
  sensors.setResolution(insideThermometer, TEMPERATURE_PRECISION);
  sensors.requestTemperatures();
  tempCinside  = sensors.getTempC(insideThermometer);

  if ( isnan(tempCinside) ) {
    Serial.println("Failed to read from sensor!");

  lcd.print("to reset");

  irrecv.resume();
  while(irrecv.decode(&results) != 1 ) { } 

}

