#include <LiquidCrystal_I2C.h>
#include <Wire.h> // for I2C communication
// setting LCD address
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// put your setup code here, to run once:
// Initialize I2C communication
Wire.begin();
// Init
lcd.init();
// turn on the backlight
lcd.backlight();
// Print a message to the LCD
lcd.setCursor(0, 0); //lcd.setCursor(column, row) to set the cursor position
lcd.print("Hello");
lcd.setCursor(0, 1);
lcd.print("World");
}
void loop() {
// put your main code here, to run repeatedly:
//delay(10); // this speeds up the simulation
}