No problem.
Sometimes we can get too involved in the nitty gritty without stepping back and looking for simplicity.
Type: Posts; User: BriComp
No problem.
Sometimes we can get too involved in the nitty gritty without stepping back and looking for simplicity.
On Teensy 4.1
Wire.begin() .... Configures pins 18 & 19 as I2C (I2C port0)
Wire1.begin() .. Configures pins 16 & 17 as I2C (I2C port1)
Wire2.begin() .. Configures pins 24 & 25 as I2C (I2C port2)
...
@GazTech was enquiring about using digitalRead() and digitalWrite() on I2C ports other than the one he wished to use. I.e. using the pins of Wire2 for digital IO when using Wire for I2C comms.
I would have thought that you can (should) use pinMode(??,??); after using Wire.begin().