#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 for a 16x2 display
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// Initialize the LCD with a different pin configuration
Wire.begin(6, 7); // Replace SDA_PIN and SCL_PIN with your desired pins
// Initialize the LCD
lcd.init();
// Turn on the backlight
lcd.backlight();
// Print a message to the LCD
lcd.print("Hello, World!");
}
void loop() {
// Your loop code here
}
Loading
esp32-s3-devkitc-1
esp32-s3-devkitc-1