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.

Help me with using ADC in PIC16F877A

Status
Not open for further replies.

vinodstanur

Advanced Member level 3
Joined
Oct 31, 2009
Messages
751
Helped
114
Reputation
234
Reaction score
114
Trophy points
1,333
Location
Kerala (INDIA)
Activity points
7,054
hello....
I dont know how to use ADC.
(using HTC compiler pro)

pls give me a sample program for my conditions below;
IF ANALOG INPUT IS BETWEEN .5V AND 1V THEN PORTB=1
IF ANALOG INPUT IS BETWEEN 1V AND1.5V THEN PORTB=2
IF ANALOG INPUT IS BETWEEN 1.5V AND 2V THEN PORTB=3
IF ANALOG INPUT IS BETWEEN 2V AND 2.5V THEN PORTB=4

THANKS IN ADVANCE
 

Re: ADC in PIC16F877A

please use porta,porte
 

Re: ADC in PIC16F877A

Read the ADC section of datasheet of 16F877A. Itz xplained beautifully...... Just read it & try to do...... :):cool::!:
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top