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

New To Allow 2nd I2C Bus #2

Open
TryingToGITthis opened this issue Jun 3, 2022 · 3 comments
Open

New To Allow 2nd I2C Bus #2

TryingToGITthis opened this issue Jun 3, 2022 · 3 comments

Comments

@TryingToGITthis
Copy link

Need a modification where a 2nd I2C bus can be used and not just the default Wire.

@wBrhy2
Copy link

wBrhy2 commented Jun 30, 2023

Isn't this enabled by the fact that you have to declare what the pin mapping is?

@TAMCTec
Copy link
Owner

TAMCTec commented Jul 27, 2023

Need a modification where a 2nd I2C bus can be used and not just the default Wire.

Try just use another SDA and SCL pin

@OlliHenri
Copy link

As I understand, it is not enough just to use other SDA and SCL pins.
To use the two I2C bus interfaces of the ESP32, you need to create two TwoWire instances.
There are CYD display boards with GT911 that need to declare 2 i2c busses to use.
So it would be good like ADAFRUIT does it in many libs, to offer a way to hand a dedicated i2c instance to the GT911 library.

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

4 participants