Interfacing 16X2 LCD Display with Arduino























Here are the connections of 16x2 LCD with arduino UNO......


#include <LiquidCrystal.h>
LiquidCrystal lcd(11,12,2,3,4,5);
void setup() 
{  
lcd.begin(16, 2);  
lcd.print("hello, world!");
}
void loop() {
}

Here is the CODE for print hello world! on  LCD.....
P.S. Don't forget to adjust the contrast of LCD with variable resistor aka Pot.

Comments