Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error about no matching function for call to all writing and reading functions from I2Cdev.cpp #757

Open
LosantosJZY opened this issue Sep 4, 2023 · 0 comments

Comments

@LosantosJZY
Copy link

Hi Jrowberg,

I'm a beginner in using Arduino, and when I follow your instructions to install the MPU6050_DMP_using_DMP_V6.12 driver, I found all of the functions call the read or write functions defined in given I2Cdev.cpp file (such as readbit, writebit) is not matching at all. As I found the last parameter 'wireObj' you introduce in almost every such I2C read\write functions, which leads to exceeding the number of defined parameters in each function. For example, the "readbit" and "writebit" funtions defined in I2Cdev.cpp only have 6 and 4 parameters respectively, but you all introduce one more wireObj here, so the compilation cannot complete, as shown in the image.
image
image
image

Appreciate for your kind help! Maybe it is my mistake and maybe a little bit stupid, haha.

Best Regards,
Jin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant