Jim, For your bit bashed PWM, from port pin series R followed by Cap to ground. Feed this to unity gain op-amp buffer. Set the R-C time constant to be 1/10th of the PWM period. Regards David Huisman -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST