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.

Reading specified channels of PIC18f4550 ADC

Status
Not open for further replies.

ptte

Newbie level 4
Joined
Apr 17, 2010
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,327
Hi...

currently am working with PIC18F4550 4 Analog Inputs.(RA0,RA1,RA2,RA3)
am able to read Analog values of each channels individually...

now am trying to read the channels with start number of channels and end number of channels(eg: if i give 0 and 2 means channels 0 & 1 values should get displayed)
whether is it possible with pic18f4550...

thanks
 

pic18f4550 ADC

You can use conditional statements to analyze the inputs and jump to suitable subroutines.

Get the inputs, check the first input and go to the first suroutine to display the given analog channel reading, then check the second input and go to corresponding routine. I think this is what you intend to do .
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top