This is much appreciated. However it 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. Sorry, wrong PR.
These are very good improvements! Thank you. The main branch is changing a lot. Would you mind rebasing your branch? Once that's done I think I can merge.
This is much appreciated.
However it 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.Sorry, wrong PR.