#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x20,16,2);
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("Hello");
lcd.setCursor(6,0);
lcd.print("Student");
Serial.begin(9600);
Serial.println("Enter Your Input Here: ");
}
void loop() {
// put your main code here, to run repeatedly:
String x = Serial.readStringUntil('\n');
lcd.setCursor(0,0);
lcd.print("Entered Value : ");
lcd.setCursor(0,1);
lcd.print(x);
delay(500); // this speeds up the simulation
}