Maybe. He changes duty as well as frequency because it works that way too, rather than a fixed frequency (the common way of doing it). Andy "Peter L. Peres" on 12/28/2000 04:58:28 PM Please respond to pic microcontroller discussion list To: PICLIST@MITVMA.MIT.EDU cc: (bcc: Andrew Kunz/TDI_NOTES) Subject: Re: [PIC]: fast easy DAC with PIC >variable frequency PWM I think that I did not understand the solution properly, because the smoothed (integrated) output of PWM depends only on the voltage of the source and its duty cycle. Not on frequency. Did I miss anything ? Peter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- 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