Are you talking of a 10K pot? If so is it a linear or audio?

If the PIC you are using has ADC you may want to look at it.