#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Initialize the library with the I2C address found for your display
LiquidCrystal_I2C lcd(0x27, 16, 4);
void setup() {
// Initialize the LCD and specify the dimensions
lcd.init();
lcd.backlight();
// Print a message to the LCD
lcd.setCursor(2, 0); // Set the cursor to column 0, row 0
lcd.print("Hello, World!");
lcd.setCursor(2, 1); // Move to the second row
lcd.print("LCD 16x4 I2C");
lcd.setCursor(1,2); // Move to the therd row
lcd.println("----------------");
lcd.setCursor(0,3); // Move to the therd row
lcd.println("with Arduino uno");
}
void loop() {
// Main loop - nothing to do here
}