dxtr
Member level 3
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
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