Advertisement
RuiViana

Teste

Mar 10th, 2016
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include<Wire.h>
  2. #include <LiquidCrystal_I2C.h>
  3.  
  4. LiquidCrystal_I2C lcd(0x3F,2,3);
  5.  
  6. void setup()
  7. {
  8. lcd.begin ();
  9. }
  10.  
  11. void loop()
  12. {
  13. lcd.setBacklight(HIGH);
  14. lcd.setCursor(0,0);
  15. lcd.print("Arduino e Cia !!");
  16. lcd.setCursor(0,1);
  17. lcd.print("LCD e modulo I2C");
  18. delay(1000);
  19. lcd.setBacklight(LOW);
  20. delay(1000);
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement