#include <LiquidCrystal.h>
//define the function
#define LCD_RS 5
#define LCD_EN 4
#define LCD_D4 18
#define LCD_D5 19
#define LCD_D6 21
#define LCD_D7 22
LiquidCrystal lcd(LCD_RS,LCD_EN,LCD_D4,LCD_D5,LCD_D6,LCD_D7);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
lcd.begin(16,2);
lcd.print("Hello World");
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}