-
-#
 /*
 A4, A5 - I2C
 
 A2 - SETUP / IN
-D13 - ENTER / IN
+A0 - ENTER / IN
 D12 - DOWN / IN
 D11 - UP / IN
 D10 - IR / IN

D4 - TEMP(DS18B20) /IN
D3 - IR / OUT
D2 - PIR /IN
 */

#include <Wire.h> 
#include <OneWire.h>
#include <DallasTemperature.h>
#include <LiquidCrystal_I2C.h>
#include <IRremote.h>

//
#define SETUP_IN_PIN A2;
#define ENTER_IN_PIN 13;
#define DN_IN_PIN    12;
#define UP_IN_PIN    11;
//
#define IR_IN_PIN    10;
#define PIR_IN_PIN   2;

#define BZ_OU_PIN    9;

// LCD
LiquidCrystal_I2C lcd(0x27, 20, 4);

// IR
IRrecv irrecv(IR_IN_PIN);
IRsend irsend;


void alarm_set()
{
  Serial.println("===> alarm_set");

  digitalWrite(BZ_OU_PIN, LOW);
  delay(100);
  digitalWrite(BZ_OU_PIN, HIGH);
}


