H hager.gogo New Member Jul 23, 2013 #1 i want to know how i generate of square wave using micro in pic 16f2048 ana write this program in equation?
i want to know how i generate of square wave using micro in pic 16f2048 ana write this program in equation?
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Jul 23, 2013 #2 What frequency? Square wave output is the easiest thing you could do with a micro... Use the timers or just toggle the output pin.
What frequency? Square wave output is the easiest thing you could do with a micro... Use the timers or just toggle the output pin.
Mr RB Well-Known Member Jul 23, 2013 #3 There are a lot of code examples on this page for generating frequencies (or periods) with a microcontroller; https://www.romanblack.com/one_sec.htm That should give a few ideas.
There are a lot of code examples on this page for generating frequencies (or periods) with a microcontroller; https://www.romanblack.com/one_sec.htm That should give a few ideas.