#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set I2C address of LCD
#define LCD_ADDRESS 0x27
// Create LCD object
LiquidCrystal_I2C lcd(LCD_ADDRESS, 16, 2);
void setup() {
// Initialize I2C
Wire.begin(21, 22);
// Initialize LCD
lcd.init();
lcd.backlight();
}
void loop() {
// Print "Hello World" on LCD
lcd.setCursor(0, 0);
lcd.print("Hello World");
// Wait 1 second
delay(1000);
}