// How to Use an I2C LCD with ESP32, ArduinoYard
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Initialize the library with the I2C address (e.g., 0x27 or 0x3F)
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("ArduinoYard");
lcd.setCursor(0, 1);
lcd.print("I2C LCD");
}
void loop() {
// No continuous updates needed
}