# Microchip PIC Timer0 Equation

To determine the load value for timer0 to generate a certain interrupt frequency, use the following equation:

$2^{n}-\frac{Oscillator Frequency (Hz)}{4*Prescaler*Interrupt Rate(Hz)}$