You (1) asked for a complete code solution and (2) metioned the PIC 16F84 in the same post. Talk about stepping into a mine field! Ask the list to (3) debug a large segment of undocumented code and you will have achieved the PICList 'Hat Trick" or "Triple Crown" of shame ;-) I highly recommend that you divert all remaining power to your shields and set your phasors to stun. -Shawn > 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 -- 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