> Hi, > > I need to generate a 1300Hz ish sine wave pulse, from a pic, that > I can plug > into a tape recorder's line in jack to log. > > Obviously, it's fairly easy to get a 1300 Hz square wave, but > what can I do > to simply and easily smooth this out a bit, so it's reasonably close to a > sine wave? > > Any pointers appreciated How pure a 1300Hz wave do you need? You could take the 1300Hz square wave and put it through a band pass filter centered on 1300Hz, that'll give you a reasonably clean wave. If you need better then try some PWM+filter with the PIC to get a pretty well perfect sine wave. TTYL ---------------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ -- 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