microrobotics

Untitled

Jul 15th, 2021
1,129
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <LiquidCrystal.h>
  2.  
  3. // LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
  4. LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
  5.  
  6. void setup() {
  7.  lcd.begin(16, 2);
  8. }
  9.  
  10. void loop() {
  11.   lcd.clear();
  12.   lcd.setCursor(0, 0);
  13.   lcd.print("Hello World");
  14.   lcd.setCursor(0, 1);
  15. delay(500);
  16. }
RAW Paste Data