#include <Wire.h>//library for I2C communication
#include <LiquidCrystal_I2C.h>//library for lcd
LiquidCrystal_I2C lcd=LiquidCrystal_I2C(0x27, 16,2);//change to (0x27, 16,2)
int c=0;
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
}
void loop() {
// put your main code here, to run repeatedly:
lcd.setCursor(0,0);lcd.print(c);
lcd.setCursor(5,0);//set the cursor on the third column and first row
lcd.print("Amaya");//print the string "Amaya"
lcd.setCursor(2,1);//set the cursor on the third column and the second row
lcd.print("LCD Tutorial");
delay(1000);c++;
}