Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #include <FastIO.h>
  2. #include <I2CIO.h>
  3. #include <LCD.h>
  4. #include <LiquidCrystal.h>
  5. #include <LiquidCrystal_I2C.h>
  6.  
  7.  
  8. #include <Wire.h>
  9. #include <LiquidCrystal_I2C.h>
  10.  
  11. LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
  12. void setup() {
  13. lcd.begin(16, 2);
  14.  
  15. }
  16. void loop()
  17. {
  18. for (int i = 0; i <16; i++)
  19. lcd.print("Hello, world");
  20. lcd.setCursor(0, 0);
  21. delay(1500);
  22. lcd.clear();
  23. lcd.print("Ross Rubin");
  24. lcd.setCursor(0, 1);
  25. delay(1500);
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement