#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup()
{
// initialize the LCD
lcd.begin(16, 4); //Init with pin default ESP8266 or ARDUINO
Serial.begin(115200);
lcd.setCursor(0, 1);
lcd.print("Hello, world!");
}
void loop(){
while(Serial.available()==0){
}
}