MPU6050, Bluetooth, Esp32

So I am trying to collect data from my gy521 using the esp32 devkit, but it only throws default values.

Conections:

VCC - 3V3
GND - GND
SCL - D22
SDA - D21

sketch_jan28a.ino (1.16 KB)

So I am trying to collect data from my gy521 using the esp32 devkit, but it only throws default values.

First of all, what are the default values for this board?

Post a link to your actual board. Most GY521 boards include a voltage regulator that only work if you provide more than 4V on Vcc. Try an I2C scanner first, if the scanner doesn’t see your MPU, your sketch will never work, you have to fix the hardware first.