Hi,
Atmel has some appnotes on doing I2C. But beware,
there is a mistake in one of these programs. It is a long time ago that I used
them, but there is a line with the comment "while ... or ... ", and the code
does "while ... AND ... ". Perhaps they have corrected their error. The
condition of the while loop should be an "or".
Rogier
----- Original Message -----From: K.MellottSent: Wednesday, January 21, 2004 3:21 PMSubject: [AVR-Chat] I2C on AtmegaHi,
Anyone done any I2C stuff on the ATmega16 or 163? I'm going to
interface to a virtual reality headset to extract tracking data and
its in an I2C format. Wanted to use the Atmega16 or 163. The
datasheets show some info on how to do it but I was wondering if
anyone had any practical experience on the subject.
Thanks
Kevin
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/AVR-Chat/
- To unsubscribe from this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.