I have a two I2C devices connected to an ESP32, the cable goes from the board, to a PN532 NFC reader, then to an LCD. The sketch first enumerates the devices on the bus, then brings up the LCD and the Pn532. When compiled using the "Wire" library, all devices come up (though the PN532 is unstable, due to clock-stretching).
When I clear the Arduino-IDE compiler cache and rebuild with FlexWire, all devices are enumerated, and the LCD comes up and I can write to the LCD (so I know SDA & SCL are valid); however the PN532 does not respond.
I have a two I2C devices connected to an ESP32, the cable goes from the board, to a PN532 NFC reader, then to an LCD. The sketch first enumerates the devices on the bus, then brings up the LCD and the Pn532. When compiled using the "Wire" library, all devices come up (though the PN532 is unstable, due to clock-stretching).
When I clear the Arduino-IDE compiler cache and rebuild with FlexWire, all devices are enumerated, and the LCD comes up and I can write to the LCD (so I know SDA & SCL are valid); however the PN532 does not respond.
Problem can be replicated with the Adafruit example code.