Interfacing MPU6050 with Nucleo F103RB

Hey, can anyone tell me how to interface MPU6050 with Nucleo F103RB. I am connecting VCC to 3.3V, GND to GND, SDA to D14 and SCL to D15, but couldn’t find any code that is working. Can anyone please provide me the latest code that can work with nucleo F103RB.


I believe, this one - MPU6050_Hello - Example of using the MPU6050 library. | Mbed by @hudakz will work.

BR, Jan