This reminds me of a current project to generate a 1us pulse with the pulse repetition rate adjustable from 1 to 999,999 pulses per MINUTE. Did it with an 18F452 and a 6 digit thumbwheel switch. Harold -- FCC Rules Online at http://www.hallikainen.com _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist