Didn't the original question mention needing an a/d converter? As opposed to just running a comparator? I thought the need was to digitize inputs that happen to be in the zero to half volt range. I have already deleted the original posting so could be off base here. Often am! Tom M. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.