This is all dependent on your own software routine. What do you want it to do? If you want it to ignore the second pulse, don't test it (don't poll it). If you want it to add to the original time, test it and reset your counter register. Rick Wallace do Valle Barros wrote: > I have a routine that receive a trigger pulse in an input, and then set > an output for a time. If I will have another trigger pulse before > finished my time in output set by the first pulse, my PIC will go to > ignore this trigger or will add my time routine to the first time in the > output? > > Regards, > > Wallace > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.