#include <LiquidCrystal_I2C.h>
#define I2C_ADDR 0x27
#define LCD_COLUMNS 20
#define LCD_LINES 4
LiquidCrystal_I2C lcd(I2C_ADDR, LCD_COLUMNS, LCD_LINES);
void setup() {
// Init
lcd.init();
lcd.backlight();
// Print something
lcd.setCursor(2, 0);
lcd.print("Politeknik TMKM");
lcd.setCursor(6, 1);
lcd.print("Cikampek");
lcd.setCursor(1, 2);
lcd.print("Teknik Elektronika");
lcd.setCursor(5, 3);
lcd.print("Semester 4");
}
void loop() {
lcd.noDisplay();
delay(1000);
lcd.display();
delay(1000);
}