大家好,
我想知道是否有人能快速浏览一下我的项目,让我知道我做错了什么。这是我从山姆的博客下载的一个项目,我遵循了他推荐的内容。代码运行但引发了一个错误:“MPU6050连接失败”,然后打印0遍。
我想提一下:1。我以前使用过这个代码,它已经工作过。2。我测试了ECUMP6050单元ARDUNO,工作正常,这意味着传感器板是可以的。
一些社区成员以前帮助我开始这个项目。我希望他们能让我理解这个问题。我附上下面的项目。如果有人能在她的电脑上运行,我将不胜感激。
MPU-6050-PSOC-GETGSH中断-0.0.CyWRK.SARVEVE01.ZIP
2兆字节
以上来自于百度翻译
以下为原文
Hello everyone,
I wonder if anyone could have a quick look at my project to suggest what I am doing wrong. This is a project that I had downloaded from Sam's blog, and I am following pretty much what he recommends. The code runs but throws an error that " MPU6050 connec
tion failed" followed by printing 0 all over.
I would like to mention that: 1. I have used this code previously, and it had worked. 2. I testecMPU6050 unit Arduino and it worked fine, which means sensor board is OK.
Some of the community members had previously helped me getting started with this project. I am hoping they would me understand the issue. I am attaching the project below. I would appreciate if someone could run on her computer.