On Sat, 15 Jul 2000, Reginald Neale wrote: > 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. not exactly, it's really a sigma delta type convertor. > > 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... I'm not sure where you were looking, but it's right here: http://www.dattalo.com/technical/software/pic/a2d.asm What problems are you having? Did you change the code? It's one of those isochronous algorithms - the timing is critical. Scott -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.