Panda01:
Hi, I need help in understanding why the MPU 6050 cannot display the data on serial monitor. I had tried compiling the MPU 6050 dmp code and it was successful in giving me the data. However, when I tried compiling with my sketch it couldn't work.
I'm thinking that compiling the MPU6050 code is the same as compiling it in a regular sketch, right? Probably best to start from the beginning again - which means get the serial data values from the MPU6050 to show up properly with minimal code ie. clean slate. Then save a version of the working code. And then proceed to figure out what is happening as you add extra bits to your code.....making sure to save newer versions of the code (and keep working code).
Also, make sure 'delay' commands eg delay(500) etc isn't interfering with your system.