edge lab LIVE! starts Tuesday in Munich. Grab a workshop seat and take home the board you build on. Code FRIEND-HACKSTER saves 20%. () Learn more!
Mahamudul Karim KhondakerDIYables
Published

Interfacing LCD to Arduino

LCD display partition using arduino Uno.

BeginnerProtip7,334
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
43 projects • 135 followers
Completed BSc at Electrical & Electronic Engineering (EEE) From United International University. Dhaka, Bangladesh
DIYables
9 projects • 99 followers
I would like to invite you to join and add your projects to DIYables platform https://www.hackster.io/diyables

Comments