#include #include //adding the libary of the LCD I2C LiquidCrystal_I2C lcd(0x27, 16, 2); //stating the address and size of the lcd void setup() { lcd.init(); //Initializing the lcd lcd.backlight(); //starting the backlight of the lcd } void loop() { lcd.setCursor(2,0); //determining the location of the text on the lcd "setCursor(Coloumn, Row)". lcd.print("Testing LCD"); // Printing the text on the lcd lcd.setCursor(3,1); //determining the location of the text on the lcd. lcd.print("with I2C.."); // Printing the text on the lcd lcd.setCursor(13,1); //determining the location of the text on the lcd. lcd.blink(); //printing a blinking character delay(3000); // determining the duration it stays on lcd.clear(); //clears the display lcd.setCursor(3,0); //determining the location of the text on the lcd. lcd.print("It works!"); // Printing the text on the lcd lcd.setCursor(1,1); //determining the location of the text on the lcd. lcd.print("Much easier! :)"); // Printing the text on the lcd delay(3000); // determining the duration it stays on lcd.clear(); //clears the display }