I've come across a number of I2C libraries that allows one to use pins other than A4 & A5 (or pins D20 & D21). But I have not found a library that was just a simple drop in replacement for the Wire library.
Does such a library exist? I didn't see one here on the forum nor through Google.
I know people will ask me "why would you want to do that!?!" So to humor those who ask let's say I have an I2C "master only" device (non-Arduino) that I want to make work with I2C devices that happen to have Arduino libraries (an IMU, an LCD display, etc). I can easily communicate from this master device to an Arduino but the Arduino can only act either as master or a slave via the Wire library; not both (at least that is my understanding).
But I would like this Arduino to act as both master and slave so I thought maybe I could use the Wire library to act as an I2C slave and a bitbanged dropin I2C Wire replacement library to make the Arduino act as a Master.
Performance luckily isn't an issue here.