Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[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?
 
  • Like
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top