/*
Hello friends welcome to "TECHNO-E-SOLUTION"
Here, is a code to interface LCD with Arduino
*/
#include <LiquidCrystal.h>
const int rs = 12, en = 11, d4 = 6, d5 = 5, d6 = 4, d7 = 3;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
lcd.begin(16, 2); // set up the LCD's number of columns and rows:
lcd.print(" 16 X 2 LCD "); // Print a text to the LCD.
}
void loop() {
lcd.setCursor(0, 1); // set the cursor to column 0, line 1
lcd.print(" LCD + ARDUINO ");
}