A friend is looking for a device to allow him to produce a single "programmable" square wave output at any frequency from "KHz to 10's of MHz". He wishes to be able to allow users to generate a stable frequency of their choice, probably (but not necessarily) using a 32 KHz reference frequency. I suggested PLLs and a frequency locked loop based on a PIC frequency counter type core (as used by some radio amateurs). Neither of these seemed to meet his cost/simplicity objectives. Politics makes a purpose built IC rather than a microcontroller desirable. How would YOU do this at lowest cost with "good" accuracy. A price of say $US5 absolute max all up is desired. . regards Russell McMahon