Displaying Your Name on LCD
by Rachna Aggarwal in Circuits > Arduino
291 Views, 1 Favorites, 0 Comments
Displaying Your Name on LCD
Components required to build this project: -
1. Arduino UNO - https://amzn.to/32jAMUA
2. Connecting Wires - https://amzn.to/3iqdBxM
3. 10K Potentiometer - https://amzn.to/2RQBXoC
4. 220 ohm resistor - https://amzn.to/2ZuPNRN
4. 16X2 LCD - https://amzn.to/35VXFQl
Circuit Schematic
Arduino Code
// include the library code:
#include LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup()
{
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// set the cursor to column 3, line 0
lcd.setCursor(3,0);
// Print a message to the LCD
lcd.print("My name is");
lcd.setCursor(5, 1);
lcd.print("Rachna");
}
void loop() { }