Advertisement
tomrobinson

LCD CODE REAL

Oct 23rd, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <LiquidCrystal.h>
  2.  
  3. int time=0;
  4.  
  5. LiquidCrystal Tom(8, 9, 10, 11,12, 13);
  6. void setup() {
  7. Tom.begin (16, 2);
  8.  
  9. Tom.print ("Arya");
  10.  
  11. }
  12.  
  13. void loop()
  14. {
  15. Tom.setCursor(0,1);
  16. Tom.print("time: ");
  17. Tom.setCursor(6,1);
  18. Tom.print(time);
  19.  
  20. delay(1000);
  21.  
  22. time++;
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement