Timer2 - Setup
Next, Timer2 needs to be set up. Click on TMR2 under Project Resources to make the Timer2 setup appear.

Timer2 will be driven by the instruction clock, which will be set up in a future step. These selections need to be made for the TMR2 operation:
- Check the Enable Timer box.
- Set Clock Source to FOSC/4.
- Set the Prescaler box to 1:1.
- Set the Postscaler box to 1:16.
- Set the Timer Period to 16.384 ms.
After set up, the window will appear as below:
