[SOLVED] Use of AD1CSSL of ADC register ?

Status
Not open for further replies.

nikhilrajg

Member level 3
Joined
Mar 2, 2012
Messages
63
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Manipal,Karnataka,India
Activity points
1,834
Hello,

As I am using ADC pin for receiving analog signals from external circuit..why should I scan the specified pin ??

Like in the TCp/Ip demo app of microchip stack V5.10 ,,they are scanning the Potentiometer pin as bellow..

AD1CSSL = 1<<5;

Why is it so ? As per I understoiod this,, if I am going to use PIN-5 for potentiometer then i should write the above and its PIN-6 then it should be AD1CSSL = 1<<6 ..!!!
Am I correct ??

And wht if I want to use including scanning this pin and scanning other pins too ?? How to configure them ?
Please help..

Thank you.
Nikhil Raj
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…