#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16,2);
void setup() {
// put your setup code here, to run once:
lcd.init();
pinMode(7, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(7, HIGH);
lcd.setCursor(4,0);
lcd.print("LED");
lcd.setCursor(4,1);
lcd.print("ON");
delay(1000);
digitalWrite(7, LOW);
lcd.setCursor(4,0);
lcd.print("LED");
lcd.setCursor(4,1);
lcd.print("OF");
delay(1000);
}
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}