That is easy. 5V | | |___[res]__| ADC Pin | Read the adc pin. then calculate the voltage drop. Like this: drop = 5 - adcvalue; Then figure out what value resistor drops x amount of voltage. IT may NOT WORK... Hope this helps, Andrew On Mon, 7 Feb 2000 10:50:56 -0200 "Cassiano J. Pereira" writes: > Hi all! > > How can I to build an ohmimeter using a Pic16c711? > If somebody to know of something, answers me. > Thanks! > > -- > +-----/-------------------------\-----+ > | \ CASSIANO J. PEREIRA / | > | \ Eng. Eletrtnico / | > |-------\---------------------/-------| > || -> LAPRO - Centro 6 - UNISINOS <- || > || emails: casspereira@sinos.net || > || cassiano@exatas.unisinos.br || > +-------------------------------------+ ________________________________________________________________ YOU'RE PAYING TOO MUCH FOR THE INTERNET! Juno now offers FREE Internet Access! Try it today - there's no risk! For your FREE software, visit: http://dl.www.juno.com/get/tagj.