Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Mahamudul Karim KhondakerDIYables
Published

Interfacing LCD to Arduino

LCD display partition using arduino Uno.

BeginnerProtip7,200
Interfacing LCD to Arduino

Things used in this project

Story

Read more

Schematics

diagram_b6gLhFVK41.png

Code

Untitled file

C/C++
#include <LiquidCrystal.h>

const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);


void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
}

void loop() {
        lcd.setCursor(0, 0);
        lcd.print("Pannu");

        lcd.setCursor(7, 0);
        lcd.print("Saad");
        
        lcd.setCursor(0, 1);
        lcd.print("Junayed");
        
        lcd.setCursor(7, 1);
        lcd.print("Fariha");
        delay(1000);
      }

Credits

Mahamudul Karim Khondaker

Mahamudul Karim Khondaker

43 projects • 127 followers
Completed BSc at Electrical & Electronic Engineering (EEE) From United International University. Dhaka, Bangladesh
DIYables

DIYables

0 projects • 80 followers
I would like to invite you to join and add your projects to DIYables platform https://www.hackster.io/diyables

Comments