Skip to content

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

@LosantosJZY

Description

@LosantosJZY

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions