Advertisement
Braulio777

Arduino LCD (Hello World/Thank You)

Nov 23rd, 2014
575
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. //Arduino LCD (Hello World/Thank You)
  2. #include <LiquidCrystal.h>
  3. LiquidCrystal lcd(8, 13, 9, 4, 5, 6, 7);
  4.  
  5. void setup()
  6. {
  7. lcd.clear();
  8. lcd.begin(16, 2);
  9. lcd.print("Hello World!");
  10.  delay(1000);
  11. }
  12.  
  13. void loop() {
  14.   lcd.setCursor(2, 1);
  15.   lcd.print("THANK YOU!");
  16.  delay(1000);
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement