You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I connected MPU6050 in the default pins of SCL and SDA in ESP32 (GPIO 21 and GPIO 22). In the first time, ran smoothly right the example code. But when I adapted the library to my project code, simply the library stopped work. I've tried again run the code of example to test again, but w/o success — like the library doesn't find the SCL and SDA pins.
I already check out the hex address code of the sensor pins in ESP32 and it's right like in the library (0x68), so idk what's the problem or how solve it.
I just thought in set the pins when calls MPU6050 mpu(Wire); but idk how to do this.
The text was updated successfully, but these errors were encountered:
I connected MPU6050 in the default pins of SCL and SDA in ESP32 (GPIO 21 and GPIO 22). In the first time, ran smoothly right the example code. But when I adapted the library to my project code, simply the library stopped work. I've tried again run the code of example to test again, but w/o success — like the library doesn't find the SCL and SDA pins.
I already check out the hex address code of the sensor pins in ESP32 and it's right like in the library (0x68), so idk what's the problem or how solve it.
I just thought in set the pins when calls
MPU6050 mpu(Wire);
but idk how to do this.The text was updated successfully, but these errors were encountered: