SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By keiichicom
#159234
Hi,

I am using ATTINY45 as an I2C master. I am running into undeclared errors on these which are related to the chip's UART I am assuming.
Code: Select all
UCSRA, UDRE, UDR, UCSRB,TXEN, UBBRL
I am using the latest usb to i2c tiny library from here:

http://www.harbaum.org/till/i2c_tiny_usb/index.shtml


I checked the Atmel file iotnx45.h but it doesn't contain these definitions of course. Should I get a newer file?
If so where would I get it. I am currently using Atmel Studio 6.1 (beta).

Thanks, keiichicom