Hello boys&girls,

I was working using a potetiometer conecting to my PIC16F628 via a capasitor to the GND.I want to read the resistor of a potetiometer(700ohm) whick included in an pan&tilt mechanism.I want to translate that to degree and display that on the LCD.
I manage to do that but I have a problem translating the resistor-->degrees!!
Range: 0-360
Resistor : 0-700ohm


Any idea??

In adittion,if I use the internal oscillator of the 16f628 the pins15&16 goes to RA6&RA7 without any additional command?

Thanks
Nikos