The processor is a NUC131LD2AE.
What core do you use, and what board do you select?
{ Wire.beginTransmission (i);
if (Wire.endTransmission () == 0)
There may be issues with the Wire library implementation with that board when a 0 length write is executed. Try sending some data.
I wouldn't get my hopes up, but you can try
{ Wire.beginTransmission (i);
Wire.write(1);
if (Wire.endTransmission () == 0)