#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 20, 4);
// #define LED 15
#define LED_BUILTIN 15
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
// lcd.begin();
lcd.init();
// lcd.backlight();
// Serial.begin(115200);
// pinMode(LED, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
// delay(3000);
digitalWrite(LED_BUILTIN, HIGH);
lcd.clear();
// lcd.setCursor(0, 0);
lcd.print("Lampu LED Hidup!");
delay(1000); // this speeds up the simulation
// digitalWrite(LED, LOW);
// lcd.setCursor(0, 0);
// lcd.println("Lampu LED Mati!");
digitalWrite(LED_BUILTIN, LOW);
lcd.clear();
// lcd.setCursor(0, 0);
lcd.print("Lampu LED Mati!");
delay(1000);
}