I'm trying to make a digital spirit level using Arduino nano+MPU6050 +LCD1602

Hi all, as mentioned in the header, I'm trying to make a digital spirit level.
I'm totally a beginner, I've been google'ing and researching but still need more inputs.

something similar to this Digital Spirit Level using Arduino and ADXL 335 - YouTube
but I'm using MPU6050 instead of ADXL 335. I tried is code that provided in the description but it didn't work, I also tried to change the I/O according to my setup, which is Arduino Nano, MPU6050, LCD 16x2 (not I2C).

Does anyone here know how to code and make it?
My apologies if this question is too broad.

Koon.

You have two options:

  1. move over to "gigs & collaborations" and find someone for hire to write the code for you,
  2. post your existing code + what it does + what you expect it does + your complete schematic (in readable way - so Fritzings are out), and we can have a look at it and maybe see what is wrong.

Oh, and almost forgot: do read the "how to use this forum" sticky, lots of very useful information on how to ask a good question (and get good answers).