Customers who bought this product also commonly purchased the following combination of items.
- This Item: LCD Interfacing Module
-
Jumper Wire - Female Pack of 5
- PIC Project Board With PIC16F877A IC
- ATMEL Project Board 8051 AT89S52 With AT89S52 IC
-
High Quality Solder lead
-
-
-
-
-
Out of stock
-
0voteA:
Dear Mr.Pradyut
Warm Greetings
Please find the sample code as well as the circuit connection below,
The circuit:
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
* 10K resistor:
* ends to +5V and ground
* wiper to LCD VO pin (pin 3)
------------------------------------------------------------------------------------------------------------#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup()
{
lcd.begin(16, 2);
lcd.print("hello, world!");
}
void loop()
{
lcd.setCursor(0, 1);
lcd.print(millis()/1000);
}Posted byon Saturday, 18 July 2015