4

I am using an ATtiny841 microcontroller as an I2C slave, but I have difficulty finding information on it. So for, all I have are application notes and reference code for TWI and USI module.

It seems like ATtiny841 has a unique TWI slave interface, which is slightly different. Although I could write out the code manually it would really help if there is a standard sample code that I can refer to.

Any suggestions?

Thanks in advance.

bot3663369
  • 151
  • 3

1 Answers1

1

You should be able to use the TWI example code as-is, since TWI is I2C: What is difference between I2C and TWI?

Nate S.
  • 670
  • 3
  • 8