Wire.endTransmission() hangs sketch

Tks. I'll check this code/lib.

But I solve this "bug" changing my Arduino (chinese version). With other protoboard works fine.

Ports 20 and 21 were working (I use a single LED to check output), but I2C not.