Improved I2C Wire.h library read/write functions