Devices & Components
Arduino Uno Rev3
Male/Male Jumper Wires
Solderless Breadboard Half Size
Alphanumeric LCD, 16 x 2
Software & Tools
Arduino IDE
Project description
Code
Code for working with LCD
arduino
Prints "HARE KRISHNA" on the first row and "HARE RAMA" on the second row.
1#include <LiquidCrystal.h> 2 3LiquidCrystal MyLCD (12, 11, 5, 4, 3, 2); 4 5void setup() 6{ 7 MyLCD.begin(16, 2); 8 MyLCD.home(); 9 MyLCD.print ("HARE KRISHNA"); 10 MyLCD.setCursor(0,1); 11 MyLCD.print ("HARE RAMA"); 12} 13 14void loop () 15{ 16}
Downloadable files
Breadboard Diagram
Make Connections as shown in the figure
Breadboard Diagram

Comments
Only logged in users can leave comments