you should not add the i2c_twi.lbx to xmega chips. Xmega always has twi built in so i2c by default uses twi.
and you also should not need to include the xmega.lib, have a look at the xmega twi/i2c samples
↧