Timer 1 capture/compare library. This library is specifically for using the capture & compare feature of Timer1.
Additional modes and compare output setting could be added to the library.
This library has a built-in instance of the class. It is not intended to be instantiated. Use the built-in instance: Timer1. This example initializes Timer1 to rollover and interrupt once per second: