Closed hamishcunningham closed 6 years ago
hiya, we wont take this because it breaks compatibility. if you want to send a PR where we can initialize with a Wire pointer, that would be considered :)
howdy! do you mean binary compatibility? at a source level you can still call begin() as before, because the parameters that we added are defaulted to -1 (which Wire.begin accepts and overwrites with board defined pins SDA and SCL)...?
non-ESP board packages do not permit such assignments!
ok thanks, will have a think
This change allows passing of the I2C pins through the TSL begin method. It is needed for boards that put I2C on non-default pins (e.g. Heltech ESP32 Lora). It should be a backwards compatible (at source level).