Advertisement
emmamerriman

STARS FINAL LCD

Oct 18th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1.  
  2. #include <LiquidCrystal.h>
  3. LiquidCrystal lcd(12,11,5,4,3,2);
  4.  
  5. void setup() {
  6. // put your setup code here, to run once:
  7. lcd.begin (16,2);
  8. lcd.setCursor(5,0);
  9. lcd.print("emma ");
  10. lcd.setCursor(1,1);
  11. lcd.print ("hi");
  12.  
  13. }
  14.  
  15. void loop() {
  16. // put your main code here, to run repeatedly:
  17. lcd.clear();
  18. for (int i = 0; i<16; i++)
  19. {
  20. lcd.setCursor(i,0);
  21. lcd.print ("*");
  22. delay (200);
  23. lcd.clear();
  24. }
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement