Liquid Crystal Display:
A liquid-crystal display (LCD) is a flat-panel display or other electronically modulated optical device that uses the light-modulating properties of liquid crystals. Liquid crystals do not emit light directly, instead using a backlight or reflector to produce images in color or monochrome.
16 represents number of columns and 2 represents number of rows.
16 represents number of columns and 2 represents number of rows.
Pin Description:
Hardware Required:
- Arduino &USB cable
- 16X2 LCD
- Bread Board
- Connecting Wires
Connections:
Arduino program to print Hello World!:
Working Model.......
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <LiquidCrystal.h> | |
// initialize the library by associating any needed LCD interface pin | |
// with the arduino pin number it is connected to | |
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); | |
// Print a message to the LCD. | |
lcd.print("hello, world!"); | |
} | |
Working Model.......
Thanks for Watching..........