This example program demonstrates how to use the TWI peripheral of an AT91  microcontroller to access an external serial EEPROM chip.