On Wed, 7 Jan 1998 11:09:37 -0600 John Payson writes: > The cap >value > should be moderately big to compensate for the small R, and the >leads > between the PIC and the pot should be as short as practical. Beware of "Z5U" ceramic capacitors (common in "moderately big" sizes such as 0.1 uF). Their capacitance changes drastically over temperature. Either use a method that compensates for not knowing the absoulte capacitance, or use another type of capacitor. Capacitors with stable capacitance are expensive in larger sizes (above 0.01 uF).