#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 20, 5);
const int pot = 0;
const int led = 10;
void setup() {
  lcd.init();
  lcd.backlight();
  pinMode(pot, INPUT);
	pinMode(led, OUTPUT);
}
void loop() {
  int p = analogRead(pot);
	p = map(p, 0, 1023, 0, 255);
	analogWrite(led, p);
  lcd.setCursor(0,0);
  lcd.print("Today is a holiday");
  delay(10000);
  lcd.clear();
  lcd.setCursor(0,1);
  lcd.print("Welcome to ksriet");
  delay(10000);
  lcd.clear();
  lcd.setCursor(0, 2);
  lcd.clear();
  lcd.print("Hello World");
  delay(10000);
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("");
}