This project uses interrupts and flags to create a stopwatch and print to LCD.
Demo video: https://youtu.be/8fEoL93PoGE
LCD library: https://github.com/ideras/pic-lcd-library.git
Import the project into MPLABX. MCC is recommended for setting up the registers.