daily pastebin goal
49%
SHARE
TWEET

LCD Display Panel

a guest Feb 13th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top