Hi,
attiny45 do not have a full I2C Interface. USI is used for I2C or SPI with attiny45.
If you insist on using Attiny25/45/85 you need to go on with this here (using assembler):
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=6909&highlight=attiny25+usi
MAK3
↧