Note: There is no need to port Arduino I2C libraries for use with the Digispark or Digispark Pro - they now come packaged with a working and compatible version of Wire. Grab the latest release if you are having issues with this.