Professional Documents
Culture Documents
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
* LCD VSS pin to ground
* LCD VCC pin to 5V
* 10K resistor:
* ends to +5V and ground
* wiper to LCD VO pin (pin 3)
Lcd.begin(16,2) is a starting point of every coding to declare your (column,rows) of your LCD.
Starting from void loop() is where you want to make it your coding based on your thinking skill:
Since the word “I am powered by Arduino” is too long, you can just code in first cloumn by
Lcd.print (“I am powered by”); .The word of “Arduino” cannot be displayed in Lcd due to 16
columns.Therefore we need to adjust by coding such as Lcd.Cursor(3,1); and put it “Arduino” in
second column.
If you want to make it little bit longer you can code delay(1000)
1000=1s