1. Home >
  2. Apps >
  3. Groups >

adc conversion using PIC 16f877a

Question asked by satanas in #Coffee Room on Apr 13, 2010
satanas
satanas · Apr 13, 2010
Member of CrazyEngineers
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 Posted in: #Coffee Room

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up