Jeethu Rao wrote: > > Vasile, > I almost understood your method, but where does the Prescaler value go? > You did'nt write anything about that. Could you please tell me a more > refined version of your algorithm to find out the TMR0 period ? > > Thanking you, > Jeethu Rao > www.jeethurao Hi Jeethu, I put the whole procedure and complete code samples up on this web page: http://centauri.ezy.net.au/~fastvid/one_sec.htm The code will run as it is, flashing a led, and the prescaler setup is clearly shown. :o) -Roman -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.