How to save a constant updating value

The MPU-6000/6050 have an integrated IMU processor. All you have to do is read the heading data output on the I2C.

What did you kinda get working? and what problems did you run into?

This should be a good starting point for working with any of the MPU-6050 breakout boards:
http://arduino.cc/playground/Main/MPU-6050