Slimming down MPU6050 files
New here and have a few questions
Edit: First, removed my totally dumb rookie question.
Second, I found a solution to this:
Also, as with a few other threads I have read, I too am having trouble with my program using the MPU6050 locking up. It is running on an Arduino 328P, and runs sometimes for 30 seconds, and other times for 10 minutes before stopping. It is currently wired on a breadboard and I have an I2C display running on it as well. When it runs it runs great, and then just stops cold. I have tried a few things that were mentioned in the other threads ti no avail. Has anyone found anything definitive with this.
It seems that for some reason, using the interrupt from the mpu6050 was causing problems. I deleted all of the code related to interrupt handling and changed the remaining code to query the mpu6050 each time through for how full the FIFO buffer was and went about reading that way. I also unplugged the interrupt wire and all is good now.
Thanks,
John B.