LCD using only 2 arduino pins with PCF8574P & I2C

used products:

1. Arduino UNO
2. LCD LiquidCrystal LCM1602C
3. PCF8574P

content:

IDE Arduino 1.0 Source: http://garagelab.com/profiles/blogs/tutorial-lcd-using-only-2-arduino-pins-with-pcf8574-and-i2c

used libraries:

1. LiquidCrystal_I2C

Arduino:

#include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x20,16,2); // set the LCD address to 0x20 for a 16 chars and 2 line display void setup() { lcd.init(); lcd.backlight(); lcd.setCursor(0,0); lcd.print("Salam Dunya!"); lcd.setCursor(0,1); lcd.print("Turkmenistan"); } void loop() { }