#include <LiquidCrystal_I2C.h>
#define LDR A0
#define PIR 13
LiquidCrystal_I2C lcd(0x27,20,4);

void setup()
{
  pinMode(LDR, INPUT);
  pinMode(PIR, INPUT);
  Serial.begin(9600);
  lcd.init();
  lcd.backlight();
  lcd.setCursor(3,0);
  lcd.print("Hellowwww ");
  lcd.setCursor(2,1);
  lcd.print("boii Musta kaa");
   lcd.setCursor(1,2);
  lcd.print("avocado from mexico");
   lcd.setCursor(0,3);
  lcd.print("Power by eedwarddddd");
  delay(1000);
  lcd.clear();
}

void loop(){
  float ldrval = analogRead(LDR);
  float pirval = digitalRead(PIR);

  lcd.setCursor(0,0);
  lcd.print(" LDR Value:");
  lcd.setCursor(12,0);
  lcd.print(ldrval);
  lcd.setCursor(21,0);
  lcd.print("PIR Value;");
  lcd.print(pirval);
}