How to Convert Raw 6 Dof data into Angle

Try the Playground: Arduino Playground - InterfacingWithHardware