Bill,
I got the file. The code looks stupid simple, how well does it work
and with what devices have you tried it? The code seems pretty obvious,
but the demo routines in there don't seem complete, for instance:
if (!I2CPut(atod_reg, 2))
atod_reg is never set to anything, it will be two bytes of zeros.
I'll give it a whirl, I've seen some code that uses the USI interface
to do I2C and it is about 10x more complex and isn't even interrupt
driven (based on Atmel app note). I'm not terribly impressed with the
USI interface...
Again, thanks,
DLC
internetwasteland wrote:
> --- In AVR-Chat@yahoogroups.com, dlc <dlc@...> wrote:
>
>> Thanks, that sounds useful.
>
> I've tried to upload the file I2C.ZIP to the files area.
>
> I'll check later to see if it came through.
>
> Bill
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
--
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------Message
Re: [AVR-Chat] Re: Tiny2313 USI code to make I2C master
2009-06-18 by dlc
Attachments
- No local attachments were found for this message.