Advertisement
Braulio777

Arduino LCD (Hello World/Thank You)

Nov 23rd, 2014
444
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement