mpmcws

LCD 16x2 PCF8574AT Versione IDE 1.6.0

Aug 31st, 2018
154
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //LCD 16x2 PCF8574AT Versione IDE 1.6.0
  2. #include <Wire.h>
  3. #include <LiquidCrystal_I2C.h>
  4. LiquidCrystal_I2C lcd(0x3F,16,2);
  5. void setup()
  6. {
  7.   lcd.init();
  8.   lcd.backlight();
  9. }
  10. void loop()
  11. {
  12.   lcd.setCursor(0, 0);
  13.   lcd.print("1234567xx1234567");
  14.   delay (1000);
  15.   lcd.setCursor(0, 1);
  16.   lcd.print("1234567xx1234567");
  17.   delay (1000);
  18. }
RAW Paste Data