PIC18F4525 Part 021: Timer as Delay and Adjusting Prescaler (in C Language)
https://www.microchip.com/wwwproducts...
Datasheet: http://ww1.microchip.com/downloads/en...
18F Family Manual: http://ww1.microchip.com/downloads/en... (See page 109)
Check out the PIC18F4525 playlist on my channel:
• PIC18F4525 Part 001: Getting Started
Also, here are some videos I made looking at the timer registers and interrupt registers. (Mostly, its just me reading the datasheet.):
Timers: • PIC18F4525 Part 016.1: Timer Registers (In...
Interrupts: • PIC18F4525 Part 016.2: Interrupt Registers...
These aforementioned vids might be helpful if you are trying to learn.