gy-80 as gyroscope

I am trying to use gy-80 as an gyroscope but my code stops after some iterations .Pleas help.

Thanks in advance.

intro_4.ino (5.01 KB)