Skip to main content

Posts

Showing posts with the label text

How To Make Arduino Text Display on LCD 16x2 using I2C dengan Arduino

Cara menampilkan Teks di LCD 16x2 menggunakan I2C dengan Arduino Wiring LCD 1. GND LCD ke GND Arduino 2. VCC LCD ke VCC Arduino 3. SDA LCD ke Pin A4 Arduino 3. SCL LCD ke Pin A5 Arduino Coding: #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27,16,2);  // Gunakan 0x3F atau 0x27 Untuk 16 Karakter dan 2 baris display void setup() {   lcd.init(); // initialize the lcd    // Print a message to the LCD.   lcd.backlight();   lcd.setCursor(0,0);   lcd.print("Selamat Datang");      lcd.setCursor(0,1);   lcd.print("di Arduino"); } void loop() { }