Atmel AVR311 TWI/I2C Slave example code: modified to work with avr-gcc