Hello all, I hope someone can help me with this. I would like to output a=20 pulse for one second. This pulse has to be high for one second. It opens=20 a gate allowing the frequency to be counted to be applied to the counter=20 gates. Then the pulse is pulled low and the counting stops. I want to then output another high pulse of at least 20nS in=20 length. I want to be able to adjust the delay from the time that the=20 count pulse goes low and when this pulse is output. It would be nice to=20 have this pulse occur from say 1 second to never. I.E. the frequency=20 count can be updated from once a second to it can be held indefinitely. So for this I would think that a potentiometer being read by an ADC=20 could be used to control the update time for counting the frequency. A=20 low count would allow the updating to occur very often and a high=20 reading would result in no reset pulse being output. I have the picture=20 in my head but I just don't know how to translate that into software to=20 control the hardware. I was thinking that a pic16f628 would be the choice for doing this.=20 Can someone please spend some time with me and help me with this? I have=20 hit a wall. Thanks, rich! --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .