NewTone Library - Plug-in replacement for Tone library - Better, smaller, faster

Osgeld:
does it work with mega?

Yup, should work with all ATmega microcontrollers. Tested on my Uno and Teensy 2.0, which are totally different. Doesn't hard code port register values so it should work on all platforms. I use the same technique with NewPing and compatibility is universal for any ATmega microcontroller. Will be simple to confirm it works.

Tim