ich würde erst mal mit dem software I2C arbeiten der hartware TWI ist oft bei cen tiny's etwas hakelig

'SDA und SCL definieren
Config Sda = Portd.5
Config Scl = Portd.7

I2cstart 'Start I2C
I2cwbyte &HA0 'Sende Slave Adresse
I2cwbyte A 'Sende Speicheradresse
I2cwbyte X 'Sende Wert
I2cstop 'Stop I2C
Waitms 10 'warte 10ms