ADCON0, ADCON1 and COMCON Settings

Here you can ask for specific code examples and discuss about it with other forum members.
Post Reply
Author
Message
internetuser2k11
Posts: 258
Joined: 12 Apr 2012 02:39

ADCON0, ADCON1 and COMCON Settings

#1 Post by internetuser2k11 » 21 Apr 2012 18:12

My circuit consists of PIC16F877A.

A0 - A3 is connected to Analog Inputs.
B0 - B7 is connected to 4x4 keypad
C0 - C5 is connected to LCD
D0 - D7 is connected to relays.

I am using ADC, internal pullups on portb.

I am not using comparators.

What settings should I set for ADCON0, ADCON1, COMCON?

Is there any other settings I've to do for proper functioning of the circuit?


Thanks

internetuser2k11

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: ADCON0, ADCON1 and COMCON Settings

#2 Post by janni » 22 Apr 2012 17:26

Please do not post wherever it pleases you :( . There are boards dedicated to programming languages or hardware problems. This is library code requests board.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: ADCON0, ADCON1 and COMCON Settings

#3 Post by filip » 23 Apr 2012 09:54

Hi,

I believe I have answered you here :
http://www.mikroe.com/forum/viewtopic.p ... 26#p186226

Regards,
Filip.

Post Reply

Return to “Code Requests”