Closed stephenf7072 closed 2 years ago
This is much appreciated. I agree about moving the Wire.begin out of the library, but it also breaks all previous sketches because the device address is passed in as first argument and this PR passes Wire in first. Easy enough to fix. I'll merge and sort it out and bump to v3 because we are breaking previous compatibility (slightly).
Awesome, glad it's useful.
Seems like bad practise to Wire.begin() inside library, so it's been removed. This does make the library not backwards compatible with previous code.