#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 in PCF8574 by NXP and Set to 0x3F in PCF8574A by Ti
LiquidCrystal_I2C lcd(0x27, 16, 2);
byte customChar[] = {
B00000,
B11011,
B11111,
B11111,
B11111,
B01110,
B00100,
B00000
};
void setup() {
lcd.begin(16,2);
lcd.createChar(0, customChar);
lcd.clear(); // Bersihkan tampilan LCD
lcd.setCursor(5,0);
lcd.write((byte)0); // Menampilkan karakter kustom di posisi (5,0)
}
void loop() {
// Kode untuk program berulang (jika diperlukan)
}