lcd shield v1.1 with mpu6050 to display tilt

Please learn to use Code Tags </> for posting code.

I suspect this is wrong:

 while(Wire.available() < 6);