0
vote
1
Answer
Posted by LCD Interfacing Module
, Saturday, 18 July 2015 on product -
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