Advertisement
Guest User

Untitled

a guest
Sep 12th, 2015
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. / Carlos Kwiek - carloskwiek1@hotmail.com
  2.  
  3. #include <Wire.h>
  4. #include <LiquidCrystal_I2C.h>
  5.  
  6. // Inicializa o display no endereco 0x3F
  7. LiquidCrystal_I2C lcd(0x3F,2,1,0,4,5,6,7,3, POSITIVE);
  8.  
  9. void setup()
  10. {
  11. lcd.begin (20,4);
  12. }
  13.  
  14. void loop()
  15. {
  16. lcd.setBacklight(HIGH);
  17. lcd.setCursor(0,0);
  18. lcd.print("Carlos Kwiek !!");
  19. lcd.setCursor(0,1);
  20. lcd.print("LCD e modulo I2C");
  21. delay(1000);
  22. lcd.setBacklight(LOW);
  23. delay(1000);
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement