On Sun, 11 Aug 2002, Olin Lathrop wrote: > > can some one guide me how to get 50Hz pure sine wave > > from PIC 16F84. > > Probably. > > > i want complete code not the > > subroutines and patches. > > Oh, and do you want us to come and clean your bathroom and serve you dinner > too? > > I have done similar things before, but I don't have complete code that does > exactly what you want, so I can't help you. Depending on the part of the world, you can solder wires to pins 1 and 18 and plug them into the AC outlet. This will give you a very pure sine wave from the F84. Of course, I should interject before Byron jumps in, that the F628 will emit an even purer sine wave. In the U.S. you'll have to resort to more difficult means: http://www.dattalo.com/technical/software/pic/picsine.html With a really trivial amount of thought, it can be made to do what you want. I think. It depends on what a pure sine wave is. -- 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