#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0X27,16,2);
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
Serial.begin(9600);
Serial.println("hi");
}
void loop() {
// put your main code here, to run repeatedly:
if(Serial.available())
{
String s=Serial.readString();
lcd.println(s);
lcd.setCursor(0,0);
}
}