   lcd.print("to reset");
 
   irrecv.resume();
-  while(irrecv.decode(&results) != 1 ) { }       
-
-  resetFunc(); 
+  while(irrecv.decode(&results) != 1 ) { } 
 
 }
 

DallasTemperature sensors(&oneWire);
DeviceAddress insideThermometer;

//
float tempCinside;
long startMills;
long tv_off_Mills;
int setUpStatus;
int wrkModeStatus;

// lcd
byte termometru[8] =

  }
*/

}


void displayTemperaturedigit(float Temperature)
{
  String str_Temperature = String(int(Temperature)) ;
  int length_Temperature = str_Temperature.length();

  for ( int i = 0; i < ( 3 - length_Temperature ) ; i++ ) {
    lcd.print(" ");
  }
  lcd.print(Temperature, 1);
}


void displayTemperature()
{
  lcd.setCursor(1, 0);
  displayTemperaturedigit(tempCinside);

  if ( !isnan(o_tempCinside) ) {
     float tempdiff = o_tempCinside - tempCinside;

    lcd.setCursor(8, 0);
    if ( tempdiff > 0 ) {
      lcd.print("+");
    } else if ( tempdiff < 0 ) {
      lcd.print("-");
    }

    String str_tempdiff = String(int abs(tempdiff));
    int length_tempdiff = str_tempdiff.length();

    lcd.setCursor(9, 0);
    lcd.print(abs(tempdiff), 1);
    if ( length_tempdiff == 1) {
      lcd.print(" ");
    }     

  }


}









void  dumpInfo (decode_results *results)
{
