#include <BluetoothSerial.h>
#include <LiquidCrystal_I2C.h>
BluetoothSerial MYBT;
LiquidCrystal_I2C LCD(0x27,16,2);
void setup()
{
MYBT.begin("ESP32");
LCD.init();
LCD.backlight();
}
void loop()
{
if(MYBT.available())
{
String printcommand = MYBT.readStringUntil('/n');
LCD.setCursor(3,0);
LCD.print(printcommand);
delay(2000);
}
}