Yigit Turgut wrote: > Works very fine, thank you. I guess sensitivity of LDR will be optimum > at the exact middle point (a resistor at exact middle impedance of > LDR connected). Is it any different than driving a NTC thermistor ? Not really. This method is for measuring any variable resistance, includin= g positive temperature coefficient thermisters. The full scale output voltage corresponds to the resistor under test going from 0 to infinite resistance. Resolution is greatest at half scale, when the resistor under test has the same value as the pullup or pulldown resistor. Resolution approaches 0 at the ends of the range. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .