jarzebski / Arduino-MPU6050

MPU6050 Triple Axis Gyroscope & Accelerometer Arduino Library
GNU General Public License v3.0
429 stars 278 forks source link

Gyro Example Simple-Nothing happen #29

Open papa-shrek opened 3 years ago

papa-shrek commented 3 years ago

After including all the stuff and adding the files, for some reason when I upload it, nothing happens. It says "Initialize MPU6050" Then nothing.

Does anyone have a solution for this?

stuartblair commented 3 years ago

For embedded software, it's always worth starting with the physical connections.

Lastly, (and I realize this may come as little comfort) I found that from my bag of 12 MPU6050 breakout boards, only a little over half of them worked once I'd soldered the header pins on them and run the same sketch on it. I suppose that's why they were only $12 for 10. Be prepared to play the numbers game with this.