Re: [AVR-Chat] I2C Communicaton via Codevison
2008-03-22 by dilipsilga
Chech ddrx for sda/scl also check i/o define at startup c file #asm{}
Sent from my iPhone
On Mar 20, 2008, at 12:24 AM, "Benny Smith" <benny@inch-worm.com> wrote:
I have written a short program using the Codevision AVR C-compiler (version
1.25.8a) to communicate between an ATMega128 and an electronic compass chip
using the I2C (inter-integrated-circuit) functions in Codevision.
So far, no luck. I have followed the example shown in the CV-AVR Help file.
Using an oscilloscope, I do not see any activity at either of the Mega128
ports that I have designated for I2C communication.
Has anyone else used the Codevision compiler's I2C functions and been
successful?
I have described my problem in an email to Pavel Haiduc at HPInfoTech
(author of Codevision) but he has not yet responded.
Benny Smith
Santa Rosa, CA
_._,___
[Non-text portions of this message have been removed]
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[Non-text portions of this message have been removed]