> 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