Skip to content

Example out of date #8

@MarskaP

Description

@MarskaP

Example in readme.md doesn't work in i2c mode

Erroneous row:
BMI160.begin(BMI160GenClass::I2C_MODE, i2c_addr);

Should corrected to:
Wire.begin();
BMI160.begin(BMI160GenClass::I2C_MODE, Wire, i2c_addr);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions