Advertisement
fahimkamal63

LCD Keypad display

Nov 18th, 2021
1,113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<LiquidCrystal.h>
  2. //const int rs=12,en=11,d4=5,d5=4,d6=3,d7=2;
  3.  
  4. LiquidCrystal lcd(8,9,4,5,6,7);
  5.  
  6. void setup() {
  7.   // put your setup code here, to run once:
  8.   lcd.begin(16,2);
  9.  
  10.  
  11.  
  12. }
  13.  
  14. void loop() {
  15.   // put your main code here, to run repeatedly:
  16.   lcd.setCursor(0,0);
  17.   lcd.print("PundraUniversity");
  18.   lcd.setCursor(0,1);
  19.   lcd.print("Gokul Bogra");
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement