#include <Wire.h>
#include <LCD I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2); // Set the I2C address (0x27 for most displays)
void setup() {
lcd.init(); // Initialize the LCD
lcd.backlight(); // Turn on the backlight
lcd.setCursor(0, 0); // Set cursor to the first row
lcd.print("Hello,"); // Print text on the first row
lcd.setCursor(0, 1); // Set cursor to the second row
lcd.print("Arduino!"); // Print text on the second row
}
void loop() {
// Your main code goes here
}