-/*
-A4, A5 - I2C
-
-A2 - SETUP / IN
-A0 - ENTER / IN
-D12 - DOWN / IN
-D11 - UP / IN
-D10 - IR / IN
-D9 - BUZZER /OUT
-D4 - TEMP(DS18B20) /IN
-D3 - IR / OUT
-D2 - PIR /IN
-*/
-
-
-
 
 #include <Wire.h>
 #include <OneWire.h>

    Serial.println("Failed to read from sensor!");
    return;
  }
  // temp

}


void loop()
{
  /*
   *
    pinMode(SETUP_IN_PIN, INPUT_PULLUP);
    pinMode(ENTER_IN_PIN, INPUT_PULLUP);
    pinMode(DN_IN_PIN, INPUT_PULLUP);
    pinMode(UP_IN_PIN, INPUT_PULLUP);
    pinMode(PIR_IN_PIN, INPUT_PULLUP);
   *
   */
  /*
    int x = digitalRead(ENTER_IN_PIN);
    Serial.println(x);
    //getdalastemp();
    //Serial.println(tempCinside);
    delay(1000);
  */

  decode_results results;

  if (irrecv.decode(&results)) {
    dumpInfo(&results);

  }

}


DeviceAddress insideThermometer;

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

// lcd
byte termometru[8] =
{
  B00100,
