App note: Using the USI module as a I2 C master

ThisĀ application note (PDF) from Atmel describes the implementation of a TWI master: The Two-wire serial Interface (TWI) is compatible with Philips’ I2C protocol. The bus was developed to allow simple, robust and cost effective communication between integrated circuits in electronics. The strengths of the TWI bus includes the capability of addressing up to 128 devices […]