karmette
Published © GPL3+

LCD Setup

Using an LCD.

BeginnerShowcase (no instructions)10 hours3,453

Things used in this project

Story

Read more

Schematics

The pic

Code

The code...

Arduino
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins

LiquidCrystal lcd(0, 1, 8, 9, 10, 11); /// REGISTER SELECT PIN,ENABLE PIN,D4 PIN,D5 PIN, D6 PIN, D7 PIN

void setup()

{

// set up the LCD’s number of columns and rows:

lcd.begin(16, 2);

}

 

void loop()

{

// set the cursor to column 0, line 1

lcd.print("Hello, World!");

lcd.setCursor(0, 1); // set the cursor to column 0, line 2

lcd.print(  "HI THERE!");

delay(750);//delay of 0.75sec

lcd.scrollDisplayLeft();//shifting data on LCD

lcd.setCursor(0, 0);// set the cursor to column 0, line1

}

Credits

karmette

karmette

3 projects • 5 followers
hi im cool and make cool projects. maybe.

Comments