// LCD liquid-crystal display
// I2C Inter-Integrated Communication
// LiquidCrystal_I2C-1.1.2 library need to download for physical pratical
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(1,0);
lcd.print("Hello World!");
delay(3000);
lcd.clear();
lcd.setCursor(2,0);
lcd.print("This is a LCD");
lcd.setCursor(2,1);
lcd.print("Screen Test");
delay(3000);
lcd.clear();
}