#if defined(__AVR_ATtiny84__) | defined(__AVR_ATtiny44__) #define DDR_USI DDRA #define PORT_USI PORTA #define PIN_USI PINA #define PORT_USI_SDA PORTA6 #define PORT_USI_SCL PORTA4 #define PIN_USI_SDA PINA6 #define PIN_USI_SCL PINA4#endif
I'm willing to give advice but, in this case, it may not be very helpful. I have yet to use I2C with an ATtiny processor. (and I'm keenly aware of the irony)I'll post an opinion later tonight (work beckons)...
Can you give a link to the library?
I see that the chip supports I2C so it should be possible to get it to work.
I don't have one of those chips to hand so I can't assist right now. Element14 have the ATTINY84-20PU for $5.38 and the ATTINY84V-10PU for $5.78.
But the -20 is faster isn't it?
I might grab a few and see what I can do with them.
Seems kind of expensive. Has the Aussie dollar been deflating?