"AVR154 Software emulation of TWI slave hardware module" appnote adapted for attiny13a and gcc