Converting rotation angles from MPU6050 to roll/pitch/yaw

I have this code lying around for my testing of my MPU6050 I have it documented well and it should work nicely
This should save you time if you want the actual angles. and it also resolves issues I faced with other examples floating around out there

Wiring Note pin 2 must be attached to int on the mpu6050

MPU6050_Test_Code.ino (9.45 KB)