Closed Archangel95 closed 1 year ago
Most sensor libraries use Wire by default, so you can change touch to Wire1 so that the sensor library calls Wire by default
You can also explicitly call Wire1 and initialize it Wire1.begin(sda,scl)
When using the sensor library, pass Wire1 to the used library.
Hi, I'm a bit confused about the use of the I2C with the Touch variant of this board. This is what I mean:
according to the pin schematics, the SDA and SCL are connected both on the JST pins (43 and 44) but at the same time, in order to work, the touch is connected with different SDA and SCL pins (17, 18).
So, my question is, which pin should I use in order to use both the touch and other devices connected to the JST connector (or pin 43,44), because right now I can't use both and Wire's library is giving me many errors ( for example: i2cRead returned Error -1).
Any ideas? Thanks