#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
LiquidCrystal_I2C lcd2(0x28,16,2);
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd2.init();
Serial.begin(115200);
Serial.println("Hello, ESP32!");
lcd.setCursor(0,0);
lcd.print("Hello, ESP32!");
lcd2.setCursor(0,0);
lcd2.print("I'm ESP32!");
}
void loop() {
// put your main code here, to run repeatedly:
lcd.backlight();
lcd2.noBacklight();
delay(1000); // this speeds up the simulation
lcd.noBacklight();
lcd2.backlight();
delay(1000); // this speeds up the simulation
}