Arduino DDS Sinewave Generator

On an Arduino Mega the pin mappings are somewhat different. The compare output for Timer 2A is on pin 10 instead of 11.

Pin mappings:
https://spreadsheets.google.com/pub?key=rtHw_R6eVL140KS9_G8GPkA&gid=0