Note that the input signal does not have to have 50% duty cycle. Tal > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Olin Lathrop > Sent: Sunday, June 22, 2003 12:41 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [EE]: dividing Freq of a square wave > > > > I am having problems trying to divide the freq of a square wave. I > > want to feed in a 50/50 square wave a varying frequencies > and get out > > of the other end a divided 50/50 square wave. Ideally I need to be > > able to hard wire the division /2 /4 or /8 to be decide after some > > tests. > > Feed the input signal into a binary counter. The LSB is the > /2 output, the next higher bit the /4 output, etc. > > > ***************************************************************** > Embed Inc, embedded system specialists in Littleton Massachusetts > (978) 742-9014, http://www.embedinc.com > > -- > 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