How to keep the rotation of the gyroscope with the camera

I want Axis Value and camera to rotate synchronously, who can help me?