Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <LiquidCrystal.h>
  2.  
  3. LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
  4.  
  5. void setup() {
  6. lcd.begin(16, 4);
  7. lcd.print("hello, world!");
  8. }
  9.  
  10. void loop() {
  11. lcd.setCursor(0, 1);
  12. lcd.print(millis() / 1000);
  13.  
  14. lcd.setCursor(0, 2);
  15. lcd.print("My name is June");
  16.  
  17. lcd.setCursor(0, 3);
  18. lcd.print("I am a genius.");
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement