Pic Timer Calculations

Overflow = 256 for 8 bit, 65536 for 16bit

Delay in seconds:

Delay = ((Overflow – InitTMR)*prescalar) /(Frequency/4)

Value to put in InitTMR – delay is in Seconds

InitTMR = Overflow – ((Delay * Frequency)/(4 * Prescalar))

This entry was posted in Notes. Bookmark the permalink.

Leave a Reply