So I am quite new to everything Arduino but I really like thinking about all of the possibilities. So now I am trying to build myself a game controller. I am using the A-Star 32U4 and the MPU6050 acc/gyro.
Can anybody please tell me how can I adapt the diagram for connecting the Uno to the MPU6050 in order to connect the 32U4 and the MPU6050?
Find the SCL and SDA pins of your controller, connect them to the SCL and SDA pins of the IMU. If the operating voltage of the controller and IMU differ, you need I2C level shifters.
You should know the voltage from which you power the controller and the IMU.
There are many tutorials and projects out in the web. If you use an Arduino, the code does not normally deserve any changes. For a naked 32U4 you'll have to select the right library versions etc., nothing for a newbie like you.