i need to output a frequency from 40hz to about 640hz. I figure i can get around the hpwm limits by multiplying by 50. and output between 2000-32000hz. so now i need a divide by 50 circuit on the output. does using a 12f629 to count pulses and toggle an output after every 25th pulse sound like the way to go? chip is cheaper than a loadable counter, associated passives, and way less board space and traces etc. seems too easy so im thinking i'm overlooking something.