On Aug 24, 2008, at 11:11 PM, Forrest Christian wrote: > Yes, I knew I forgot to mention something like that... I'm > counting a > signal on the order of 10Mhz.... and the comparator output has to be > really fast - much faster than you could implement even in a very > tight > loop of assembly. Can you live with a variance of up to 3 counts from when the comparator is supposed to trigger? If so, use the input to *clock* a PIC (would have to be at least 8 pins, I don't think the 10F's support external clocks). The program would be two long, macro- generated delays in a loop, with one each BSF and BCF instructions at the appropriate places. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist