16F676 is close, has ADCs but only 14 pins. Nick Veys [ nick@veys.com ] [ www.veys.com ] | Thanks to all who responded to my query. If only the 628 had | a regular ADC, it would be perfect. I saw someone make reference to doing your | own AD conversion using PWM. I'm curious about this. Could someone | describe how to do it, or point me to some kind of example of this. | | All I need to do is measure/track a pot's position updating | it maybe 10 times per second or more. A value of 0-255 would be plenty of | precision. Actually it would be perfect. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body