#include <LiquidCrystal.h>
the parametrs are (RS,E,D4,D5,D6,D7);
LiquidCrystal led(7,5,4,3,2,1);
void setup() {
// Set up the LCD columns and rows
lcd.begin(16, 2);
// Print a welcome message
lcd.print("Hello, ADI");
}
void loop() {
// Display a scrolling message
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("ADI:");
for (int i = 0; i < 16; i++)
{
lcd.scrollDisplayLeft();
delay(500);
}
delay(2000); // Wait for 2 seconds before repeating
}
``