//simple initialization
// #include <LiquidCrystal.h>
// LiquidCrystal lcd(12, 14, 5, 4, 18, 19);
// const int Z=10;
// void setup() {
// lcd.begin(16, 2);
// lcd.setCursor(0,0);
// lcd.print("hello");
// lcd.print(" ");
// lcd.print(Z);
// lcd.print(" ");
// lcd.print(Z,HEX);
// }
// void loop() {}
//TOPIC 02:- USING lcd.home() FUNCTION
// #include <LiquidCrystal.h>
// LiquidCrystal lcd(12, 14, 5, 4, 18, 19);
// void setup()
// {
// lcd.begin(16,2);
// lcd.setCursor(3,1);
// lcd.print("TAJ");
// delay(1000);
// lcd.home();
// lcd.print("Hotel");
// }
// void loop(){}
//TOPIC 03:- UNDERSCORE AND CURSOR OFF
// #include <LiquidCrystal.h>
// LiquidCrystal lcd(12, 14, 5, 4, 18, 19);
// void setup()
// {
// lcd.begin(16,2);
// lcd.setCursor(0,0);
// lcd.cursor();//UNDERSCORE dikhega "basically shows ki cursor kis position hogi"
// lcd.print("CURSOR");//you will CURSOR_
// delay(1000);
// lcd.noCursor();//removes the underscore(position indicator)
// }
// void loop(){}
//TOPIC 04:- BLINK/NO_BLINK AND DISPLAY_ON/DISPLAY_OFF
// #include <LiquidCrystal.h>
// LiquidCrystal lcd(12, 14, 5, 4, 18, 19);
// void setup()
// {
// lcd.begin(16,2);
// lcd.setCursor(0,0);
// lcd.blink(); //ek tarah ka cursor postion indicator hi hai
// delay(1000);
// lcd.noBlink();//blinking off
// }
// void loop()
// {
// lcd.setCursor(0,0);
// lcd.print("bye");
// lcd.noDisplay();//display off data still remains there
// delay(3000);
// lcd.display();// display get on's data appears
// delay(1000);
// }
//TOPIC 05:- AUTOSCROLL
// EXAMPLE->1
// #include <LiquidCrystal.h>
// LiquidCrystal lcd(12, 14, 5, 4, 18, 19);
// void setup()
// {
// lcd.begin(16,2);
// //har ek print pe purana wala data shift hojaye apne aap
// lcd.autoscroll();
// lcd.print("A");
// }
// void loop()
// {}
// EXAMPLE -> 2
// #include <LiquidCrystal.h>
// LiquidCrystal lcd(12, 14, 5, 4, 18, 19);
// void setup()
// {
// lcd.begin(16,2);
// lcd.autoscroll();
// }
// void loop()
// {
// lcd.setCursor(0,0);
// lcd.print("A");
// delay(50);
// // lcd.noAutoscroll();
// }
//TOPIC 06:- scrolling display to the left
// #include <LiquidCrystal.h>
// LiquidCrystal lcd(12, 14, 5, 4, 18, 19);
// void setup()
// {
// lcd.begin(16,2);
// lcd.setCursor(15,0);
// lcd.print("maa chuda nitin");
// //agar isme rakhoge toh ek hi baar display left ko scroll hokey
// //band hojayegi
// }
// void loop() {
// lcd.scrollDisplayLeft();
// delay(100);
// lcd.setCursor(0,1);
// lcd.print("X");
// }