Advertisement
Guest User

LCD Display Panel

a guest
Feb 13th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. LCD panel
  2. * Costakis Loizou
  3. */
  4. #include <LiquidCrystal.h>
  5. LiquidCrystal lcd (12, 11, 6, 5, 3, 2);
  6.  
  7. void setup()
  8. {
  9. lcd.begin(12, 2);
  10. lcd.setCursor(3,0);
  11. lcd.print("My name is");
  12. lcd.setCursor(4,1);
  13. lcd.print("Costakis");
  14. }
  15.  
  16. void loop()
  17. {
  18. for (int i=0; i < 16; i++)
  19. {
  20. lcd.clear();
  21. lcd.setCursor(i, 0);
  22. lcd.print("My name is Costakis");
  23. lcd.noBlink();
  24. delay (700);
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement