ArduinoUNOR3+2.8 inch TFT+driver+Motion Sensor:LCD doesnt work once Wire starts

Hi Guys!

I have an Arduino Uno R3 and I have interfaced a motion sensor with it in I2C interface using the lines A5(SDA) and A4(SCL). The Motion sensor works good. Now I am trying to interface the 2.8 inch TFT Display and IL9325D_16 Driver using the UTFT library provided by Electronics - Henning Karlsen.

The UTFT library declares
RSET --> A2
CS --> A3
RW --> A4
RS --> A5

Question: My code sequence is start the LCD and display some info and then calibrate my sensor and show sensor values. And what happens is, the LCD shows intro info and then sensor starts, gives out values in serial but doesnt print it in LCD. Once the Wire library starts, all the LCD function are ignored and never happens. Why?

Please explain.

On an Arduino UNO the Wire (a.k.a TWI, a.k.a I2C) library use pins A4 and A5. You will have to re-wire your LCD Shield to not use those pins if you want to use both.