/*
Wokwi | general
wions — 9/28/25 11:05 AM
hi I am currently trying to run this simulation but it is
giving me problems and I dont understand why?
Parallel LCD on ESP32
NOTE!
The lcd module uses 5v logic, the ESP uses 3.3v logic.
In a real circuit logic level shifters are required!
(Here the LCD is powered from 3.3v, probably won't work IRL.)
*/
#include <LiquidCrystal.h>
// pin constants
const int RS = 13, EN = 12;
const int D4 = 14, D5 = 27, D6 = 26, D7 = 25;
LiquidCrystal lcd(RS, EN, D4, D5, D6, D7);
void setup() {
Serial.begin(115200);
lcd.begin(16, 2);
lcd.setCursor(4, 0);
lcd.print("Hello");
lcd.setCursor(6, 1);
lcd.print("World!");
Serial.println("\nHello world, from ESP32!");
}
void loop() {
// nothing to loop about
}