Elegoo Arduino Uno R3 – How to Setup An LCD

By: Seth Job, Journalist

SETH NOTES:

  1. Add Featured Image using an elegoo board.
  2. Add a custom excerpt (a brief sentence or two about this article that makes people want to read it).
  3. Then delete these notes and re-submit for review.

Mr. Smith

 

LiquidCrystal Library – Hello World

Directions:

#include <LiquidCrystal.h>

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

void setup() {
  lcd.begin(16, 2);
}

void loop() {
  lcd.print("hello, world!");
  delay(500);
  lcd.clear();
  delay(500);
}

This sketch prints “Hello World!” to the LCD
and shows the time.

 

 

 

 

RELATED STORIES:

UNO R3 Super Starter Kit

https://www.elegoo.com/blogs/arduino-projects/elegoo-uno-r3-project-the-most-complete-starter-kit-tutorial

https://www.electromaker.io/blog/article/review-elegoo-arduion-uno-r3-complete-starter-kit

Elegoo Arduino Uno R3 -Thermometer Project – Abhinav Palikala