#include <LiquidCrystal.h>
// Define the pin connections
const int rs = 8; // Register Select pin
const int en = 9; // Enable pin
const int d0 = 0; // Data pin 4
const int d1 = 1; // Data pin 5
const int d2 = 2; // Data pin 6
const int d3 = 3; // Data pin 7
const int d4 = 4; // Data pin 4
const int d5 = 5; // Data pin 5
const int d6 = 6; // Data pin 6
const int d7 = 7; // Data pin 7
// Create an instance of the LiquidCrystal class
LiquidCrystal lcd(rs, en, d0, d1, d2, d3, d4, d5, d6, d7);
void setup() {
// Initialize the LCD
lcd.begin(16, 2); // Set up the LCD's number of columns and rows
lcd.clear(); // Clear the display
lcd.setCursor(0, 0); // Set cursor to the first column of the first row
lcd.print("Garvit 22BCS15521"); // Print message
}
void loop() {
// You can add more code here to update the display or perform other tasks
}