Skip to content

Conversation

NCPlyn
Copy link

@NCPlyn NCPlyn commented Feb 10, 2023

Would be nice if we could specify what pins should I2C use, so I came up with this.
If anybody knows better way, please show.

@Uspizig
Copy link

Uspizig commented Sep 26, 2024

just place a Wire.begin(SDA, SCL) before the myIMU begin(); and it should work.

Should look like this:
#define SDA2 5
#define SCL2 6

Wire.begin(SDA2,SCL2);
myIMU.begin();

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

Successfully merging this pull request may close these issues.

2 participants