I am looking for (reasonably easy to use and well tested) alternatives to the Wire
library. Wire
works very well, but: I only need the Arduino to act as I2C master and the Wire
library seems to be a real waste of resources:
My goal is to send out data en bloc (e.g. 32 or 64 bytes). This data is already sitting in an array in SRAM. Now when you use the Wire
library, you call the TwoWire::write
function which copies your data into a 2nd buffer. Afterwards, Wire
makes use of the TWI
library where twi_writeTo
copies the data again into a 3rd buffer. That's a bit clunky, isn't it?
I have seen the DSSCircuits / I2C-Master-Library but I am not sure how mature it is because there hasn't been any commit after the initial commit which is 3 years old now.