//Menampilkan teks By AJTekno
/*#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);*/
int button = 6 ;
#include <LiquidCrystal_I2C.h>//Library LCD i2c
//inisialisasi nomor pin LCD
LiquidCrystal_I2C lcd(0x27,16, 3); //kalau masih tidak tampil, ganti menjadi 0x3f(alamat i2c)
void setup() {
pinMode(button, INPUT_PULLUP);
lcd.init();
lcd.backlight();
lcd.setCursor(2, 0);
lcd.print("BY. PROJECT");
lcd.setCursor(4, 1);
lcd.print("ANUGRAH");
}
void loop() {
if(digitalRead(button) == LOW){
lcd.init();
lcd.backlight();
lcd.setCursor(2, 0);
lcd.print("MUH.ANUGRAH");
lcd.setCursor(4 ,1);
lcd.print("WIRAWAN");
delay(3000);
lcd.setCursor(4 ,1);
lcd.print("");
lcd.setCursor(2,2);
lcd.print("");
lcd.setCursor(6,3);
lcd.print("");
}
}