weinerm21

Untitled

Jun 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <Wire.h>
  2. #include <LiquidCrystal_I2C.h>
  3.  
  4. LiquidCrystal_I2C lcd(0x3F, 16, 2);
  5.  
  6. void setup()
  7. {
  8. // put your setup code here, to run once:
  9. lcd.begin(16, 2);
  10.  
  11. void loop()
  12. {
  13. // put your main code here, to run repeatedly:
  14. for(inti = 0; i< 16; i++)
  15. lcd.clear();
  16.  
  17. lcd.setCursor (i, 0);
  18.  
  19. lcd.print("Hello, world!");
  20.  
  21. lcd.setCursor(i, 1);
  22.  
  23. lcd.print("Misha");
  24.  
  25. delay(500);
  26. }
Add Comment
Please, Sign In to add comment