LCD 16X2 I2C ARDUINO

 LCD 16X2  I2C ARDUINO


1. ALAT DAN BAHAN : 

  a. Kabel Jumper

  b. Arduino Mega 2560

  c. LCD 16X2 I2C

  d. Kabel USB Arduino


2. LIBRARY :

  Link Library LCD Di Sini


3. RANGKAIAN :

  a. GND -> GND

  b. VCC -> 5V

  c. SDA -> SDA

  d. SCL -> SCL


4. CODING :

  #include <LiquidCrystal_I2C.h>

  LiquidCrystal_I2C lcd(0x27, 16, 2);


void setup() {

  lcd.begin();

}


void loop(){

  lcd.setCursor(2,0);

  lcd.print("SMKPKLPTPWS");

  lcd.setCursor(2,1);

  lcd.print("MUKLAS DIKA");

}


5. HASIL FOTO :



6.HASIL  VIDEO 






LCD 16X2 I2C ARDUINO LCD 16X2  I2C ARDUINO Reviewed by PKLSMKPTPWS on Oktober 17, 2022 Rating: 5

Tidak ada komentar