The is some code on the Bascom list. http://groups.yahoo.com/group/bascomlist/files/ look for TWI --- In AVR-Chat@yahoogroups.com, "Lee Leathers" <fredit@c...> wrote: > Hello, I am toying around with an mcp23016 (i2c port expander) with my atmega 32. > > I have everything hooked up right.. but lack sample code for hardware i2c (as I have heard this is very diff from software i2c). > > Does anyone have any stripped down code (code just to handle 1 device on the i2c) for the avr to be the master on an i2c bus? > > > thanks-Lee
Message
Re: Hardware i2c with atmega 32
2005-02-06 by Joe