Hi Community, this is my first project connecting an mpu6050 gyro to a Mega 2560. I've added the libraries for gyro and 12Cdev scanner, now I'm writing the sketch.
Following this tutorial...
It has two code sections, one for the gyro, and one for the scanner - should I copy/paste both sets of code (without duplicating the 'void' and 'loop' parts), into one long sketch, or should they be used separately, i.e. uploading two sketches to the Mega?
It is easy to understand and has a good mixture between explaining important concepts and example-codes to get you going. So give it a try and report your opinion about this tutorial.
I can see the two sketches I have need to be run separately, one is for finding a port-address, the other is for running code communication to the ID'd port.