You can see example sketch. If you want to get data of MPU6050, you must execute update() method before get method. update() will get all data of MPU6050, and calculating angle by accelerometer, ...
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! The -i flag will make the changes to the ...