Guys: During a program I have to periodically make a burst of 455Khz pulses and stop when a pin changes state.... Using an pic 12F510 I can get an 8Mhz internal osc that gives me about 4 instructions to manufacture this burst and sense the end. It goes something like this Code cycles (500ns ) Bsf GPIO,outbit ;0 6 btfss GPIO,inrxbit ;1 goto main ; bcf GPIO,outbit ;3 goto $-4 ;4 best I can do is 5... Anybody got any better ideas I am trying to get a one chip solution in the smallest possible space and it needs a comparator TIA STeve -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist