> -----Original Message----- > From: Timothy Box [SMTP:Tim@TJBSYSTEMS.COM] > Sent: Wednesday, February 12, 2003 3:53 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [EE]: Rounding the square wave > > Hi all > > I need to be able to round off the square wave coming from the HWPM on my > PIC. The HPWM output is being used to generate sound. I am currently using > the standard 2 Rs + 2 caps which works in a fashion but is still rather > harsh. The freq range is potentionaly from 247 hz up to 12.5 kHz so an > active filter is needed (I think). Can any body point me in the right > direction? > Is this the frequency range of the signal you are sending on top of the PWM? What is the PWM frequency? Mike -- 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