#include <LiquidCrystal.h> // includes the LiquidCrystal Library
LiquidCrystal Icd(1, 2, 4, 5, 6, 7); // Creates an LCD object. Parameters: (rs, enable, d4, d5, d6, d7)
void setup() {Icd.begin(16,2);
}
// Initializes the interface to the LCD screen, and specifies the dimensions (width and height) of the a
void loop() {
Icd.print("Arduino"); // Prints "Arduino" on the LCD
delay(3000); //3 seconds delay
Icd.setCursor(2,1); // Sets the location at which subsequent text written to the LCD will be displayed
Icd.print("LCD Tutorial");
delay(3000);
Icd.clear(); // Clears the display
Icd.blink(); //Displays the blinking LCD cursor
delay(4000);
Icd.setCursor(7,1);
delay(3000);
Icd.noBlink(); // Turns off the blinking LCD cursor
Icd.cursor(); // Displays an underscore (line) at the position to which the next character will be written
delay(4000);
Icd.noCursor(); // Hides the LCD cursor
Icd.clear(); // Clears the LCD screen
}