Closed sheffieldnikki closed 3 years ago
I don't use the ESP devices and this is probably not something I'll get around to anytime soon; very sorry about that. Actually your workaround seems fine, there's probably not a lot to be improved on over that.
For architectures that can use configurable SDA/SCL pins for I2C communications (eg. the ESP32) is there a recommended way of initialising your library to use those pins? I'd expect something like:
but
RTC.begin()
doesn't accept optional arguments. Since all it does is call the underlyingWire.begin()
function, could it just pass on those arguments, if provided? The ESP32Wire.begin()
can take up to 3 optional arguments.At the moment I'm doing this instead, which does work:
Many thanks