//Arduino Code by Pranav Chavan
// LCD1602 to Arduino Uno connection example
#include <LiquidCrystal.h> //Library for LCD
LiquidCrystal lcd(12, 11, 10, 9, 8, 7); // LCD pins at which it is attached to the Arduino
void setup() //method used to run the source for the one time onlys
{
lcd.begin(16, 2);//LCD order i.e. 16 columns & 2 rows
lcd.print("Pranav Chavan");//prints on LCD
lcd.setCursor(0,1);//setting cursor on LCD
lcd.print("2021AETN1101053");//prints on LCD
delay(1000);//delay of 1 sec
}
void loop() //method to run the source code repeatedly
{
lcd.noDisplay();//turn off the display of LCD
delay(250);//delay to 0.25 seconds
lcd.display();//turning on the LCD display
delay(250); //delay of 0.25 seconds again
}