Thanks to everybody who commented on making a simple adc using PWM and a comparator (on a 627) juan. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics