How to save a constant updating value

That is why i first bought this MPU 6050 from Sparkfun. https://www.sparkfun.com/products/11028?

Triple Axis Accelerometer & Gyro Breakout - MPU-6050

But the thing is kinda hard for me to code. I was able to KINDA get it working but had to many problems and not enough knowledge, researching and even emailing the chip makers didnt do much help either.

I am willing to try to use that again to get my goals but i would need some help from you guys if you would be so kind.