Closed felmue closed 2 years ago
This allows to connect multiple PbHUB to the same I2C bus. Backwards compatible with existing code using only one PbHUB.
nice :+1:
It would be nice to also be able to use PdHUB on different pins (e.g. with M5GO Bottom2).
Implementing a secondary PdHUB::begin( int sdaPin=SDA, int sclPin=SCL ); could solve that.
PdHUB::begin( int sdaPin=SDA, int sclPin=SCL );
This allows to connect multiple PbHUB to the same I2C bus. Backwards compatible with existing code using only one PbHUB.