> Why in comment it is said that this delay is 5 ms while > actually it is 2.5ms ? > If I'm wrong please say to me what I do wrong in my calculation. It is only 2.5ms. Probably the code was originally 5ms and changed for some reason but the comment was overlooked -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.