Does anyone have experience with Scott Dattalo's a2d.asm code? This is a routine for doing A/D on a chip (e.g., 16C84) that doesn't have a built-in A/D converter. It uses the voltage to be measured to charge a capacitor, and measures the charge/discharge time. I'm trying to use the 2-pin version of this code and having problems. I notice it's no longer on his web page... TIA for any advice/suggestions/tips Reg Neale -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.