John Miskimins wrote: > > I have used a number of different resistor values of about that range and > it seems to work quite well. When doing this you are counting on the PIC's > input protection diodes. As I recall there is a Microchip application note > that goes into this sort of thing in some depth. In their application they > are using it for a line voltage (read wall outlet) frequency measurements > (I think that was the pourpose). TO MEASURE THE LINE VOLTAGE BUT EITHER SHOULD BE POSIBLE PROVIDING THE OTHER DOES NOT VARY -- Peter Cousens email: peter@cousens.her.forthnet.gr snailmail: Peter Cousens, karteros, Heraklion, Crete, 75100, Greece,