Playground.arduino.cc will be read-only starting December 31st, 2018. For more info please look at this Forum Post

Timer2 Library for Uno/Mega

Please follow link to arduino forum thread to download the library.

It works for me(I used and arduino Uno) but I am not sure how versatile it is though.

Please try the library out. Comment and feedback (please post on thread) welcomed!

http://forum.arduino.cc/index.php?topic=440256.0