Timer0 Example

Timer0 Configuration: In this case the TMR0_out toggles every two rollovers of TMR0H:TMR0L. i.e. (0xFFFF)*2*(1/250kHz) = 524.28 ms