Hi James, On 12/14/06, James Ronald <jronald@chartermi.net> wrote: > Tonight I tried to compile the i2c examples in AVRlib. I found that the AVR > Butterfly does not support i2c the same as the ATmega8, 128, 16, 163 and > such. Instead, the 169 uses the USI to do TWI. I did find Atmel > application note 310 which describes how to go about setting up USI to do > TWI but I was hoping to find another example as well. I have searched for > the past few hours with little luck. I'm surprised that I could not find > examples of connecting an AVR Butterfly to a SRF08 an i2c compus or such. > Anyway, if anyone has a TWI USI example I would be appreciative. The openservo project: http://www.openservo.com/ was originally designed for the AVR Tiny45/85 and it uses USI http://www.openservo.com/viewcvs/viewcvs.cgi/OpenServo/ATtinyX5_Bootloader/ -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/
Message
Re: [AVR-Chat] Looking for i2c (TWI) using USI example (AVR Butterfly ATmega169)
2006-12-15 by Dave Hylands