Integrating gyro stabilization into arduino RC- receiver

Hey, So i couldnt really do it. i have never coded a PID loop before so i cannot understand how to integrate your code into mine. Is there any way you could make it simpler like without a PID loop maybe?. Thanks again.