>Hello, > I am in need to divide a 12.5 Mhz clock by 163. How can this be >done with a counter? I know that if this division were a power of two, >then it would be very straight forward, but this is not my case at all. >Any pointers will be greatly appreciated. -Vic If only it were an even number this would be straightforward. But you had to pick 163. Otherwise you divide by 2 at the end and the result is square. I don't suppose you could fudge it to 162 or 164... Barry -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu