//defines the 2 pin/ button so when u refrence this it will know your talking about the buttons
#define B1_PIN 13
#define B2_PIN 12
#include <LiquidCrystal_I2C.h>
#define I2C_ADDR 0x27
#define LCD_COLUMNS 20
#define LCD_LINES 4
LiquidCrystal_I2C lcd(I2C_ADDR, LCD_COLUMNS, LCD_LINES);
void setup() {
pinMode(B1_PIN, INPUT_PULLUP);
pinMode(B2_PIN, INPUT_PULLUP);
// Init
lcd.init();
lcd.backlight();
// Print something
lcd.setCursor(0, 0);
lcd.print("You arrive home and");
lcd.setCursor(0, 1);
lcd.print("see the door ajar");
lcd.setCursor(0, 3);
lcd.print("Something is a miss ");
delay(5000);
lcd,init();
lcd.setCursor(0, 0);
lcd.print("do you:");
lcd.setCursor(0, 1);
lcd.print("1, Enter the house?");
lcd.setCursor(0, 2);
lcd.print("2, call for help");
lcd.setCursor(0, 3);
lcd.print("press button 1 or 2");
}
void loop() {
}