Timer Peripheral
Step 7 - Timer0 needs to be set up. Click on the TMR0 label under Project Resources to make the Timer0 setup appear.
- Check the Enable Timer box and select the 1:256 prescaler selection from the drop-down menu.
- Click on Clock Source and select (FOSC/4). This will select the instruction clock as the clock input to the Timer0.
- Type '250' into the Period box and it will change to the exact value of 249.856 ms. This is the closest the setup can get to a 250 ms delay. This will set the Timer0 to overflow every 250 ms (249.856 ms approximately).
The window should look like the one below after the proper setup:

