#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27 ,20,4);
void setup() {
// put your setup code here, to run once:
lcd.init(); //initialize the lcd
lcd.backlight();
}
void loop() {
lcd.clear(); //clear display
lcd.setCursor(5,0); //move cursor
lcd.print("I2C LCD"); //print message
lcd.setCursor(5,1); //move cursor
lcd.print("interfacing");
lcd.setCursor(5,2); //move cursor
lcd.print("using"); //print message
lcd.setCursor(5,3);
lcd.print("NODEMCU");
// put your main code here, to run repeatedly:
delay(1000); // this speeds up the simulation
}