Project in progress
How to use LCD with arduino UNO

How to use LCD with arduino UNO

  • 15 views
  • 0 comments
  • 0 respects

Components and supplies

About this project

Code

running LCD by arduino UNOC/C++
The LCD was linked by only 4 data pin
//8월 16일 - 2
#include  <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5,  4,  3,  2);

void setup()
{
    lcd.begin(16, 2);
    lcd.clear();
    lcd.print("hello, world!");
}

void loop()
{    
    lcd.setCursor(0,  1);
    lcd.print(millis()  / 1000);
}

Comments

Add projectSign up / Login