[SOLVED] problem with adc and i2c

Status
Not open for further replies.

dxtr

Member level 3
Joined
Apr 27, 2012
Messages
66
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,699
hey everyone i have this problem
i'm using MikroC pro for pic , and i have a 16f876a µc
i'm trying to connect 2 devices to the µC one device uses i2c and the other uses adc (analog digital converter)
when i use only i2c its works very good , and when i use only adc its works also very good , but if i'm using i2c and ONLY add the line adc_init() to initialise adc module , the i2c stop working and only the adc works , its like some kind of mask of the i2c
can you help me please with this
 

Could you show us your schematic and code please?
 
Reactions: dxtr

    dxtr

    Points: 2
    Helpful Answer Positive Rating
Nevermind , its working now
i don't know what was the problem , thnx anyway
 
Last edited:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…