#include "LiquidCrystal_I2C.h"
LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address
void setup() {
lcd.init(); //initialize the lcd
//lcd.backlight(); //open the backlight //
}
void loop() {
lcd.clear();
delay(1000); // clear display
lcd.setCursor(0, 0); // move cursor to (0, 0)
lcd.print("Arduino"); // print message at (0, 0)
lcd.setCursor(2, 1); // move cursor to (2, 1)
lcd.print("GetStarted.com"); // print message at (2, 1)
delay(1000); // display the above for two seconds
//lcd.clear(); // clear display
lcd.setCursor(3, 2); // move cursor to (3, 2)
lcd.print("DIYables"); // print message at (3, 0)
lcd.setCursor(0, 3); // move cursor to (0, 3)
lcd.print("www.diyables.io"); // print message at (0, 1)
delay(2000); // display the above for two seconds // put your main code here, to run repeatedly:
}