Does it have to come from the PIC? There's several other oscillator options available that you could *control* with a PIC. I'm thinking some kind of VCO using the PWM to adjust the voltage, or maybe just "gating" the signal (analog switch?) You'd get a cleaner signal with much less complicated software. At 1.3KHz you could also implement some crude freq meter function to provide a feedback loop... Assuming exact freq is important to you. Just some ideas. -Denny > 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 > > Thanks > > Jon > > -- > 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 -- 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