#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 (or your I2C address) for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// Initialize the LCD
lcd.begin(16,2);
// Turn on the backlight
lcd.backlight();
// Print "Hello, World!" to the LCD
lcd.setCursor(0, 0); // Set cursor to the first column of the first row
lcd.print("Hello, World!");
}
void loop() {
// Nothing to do here
}