If your analog voltage changes slowly a simple RC filter will do the job. R from PIC pin to + lead of CAP. - lead of CAP to ground. Set RC (time constant) to be quite a bit bigger than your PWM frequency. Watch your load, its input impedance should be >> R Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body