So I have two Teensy 4.1 and I want them to communicate through I2C. So I used the new and improved wire library recommended in the wire page.
Although, both of the Teensy haven't been able to communicate. No Teensy (as master) can detect the other as slaves. I used the example program from Teensy4 I2C library, the find_slaves one.
The wiring that I used is already like it is supposed to:
SCL to SCL - 18 to 18
SDA to SDA - 19 to 19
Both of the Teensy have their grounds connected.
The slave Teensy is connected to master's VCC.
I used my laptop to power the master Teensy.
What am I doing wrong here?
Although, both of the Teensy haven't been able to communicate. No Teensy (as master) can detect the other as slaves. I used the example program from Teensy4 I2C library, the find_slaves one.
The wiring that I used is already like it is supposed to:
SCL to SCL - 18 to 18
SDA to SDA - 19 to 19
Both of the Teensy have their grounds connected.
The slave Teensy is connected to master's VCC.
I used my laptop to power the master Teensy.
What am I doing wrong here?