Connecting multiple MPU6050(GY521) to Arduino Due

I've cleaned up the code and add a little comments.

Pin 52 and 53 are connected to the AD0 pins from two gyroscopes.

I'm using the GY-521.

I connect all the sensor SDA and SCL pins in parallel to the 20 and 21 pins of the arduino due, which are the SDA and SCL.
The Vcc sensor pins are connected tot the 3.3V output of the arduino and the grounds to the ground.

I think that's all.

prova_1sensor.ino (3.96 KB)