View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12889 Members
Join this group to post and comment.
satanas
satanas • Apr 13, 2010

adc conversion using PIC 16f877a

hi,

can we assign any conversion channel to perform a conversion..
example: i have 2 ultrasonics range sensors and i am measuring the distance to a wall.

from tutorials, it say the first conversion can be done in channel 2. i.e.

distance_1=Adc_Read(2);

now i want to measure the distance using the second sensor..

distance_2=Adc_Read(?);

which channel do i use here??
am using mikroC..

its urgent guys.. please help..

cheerz,
satanas

Share this content on your social channels -