Timer output problem on Arduino Mega 2560 R3


I found the following code in another thread posted by Nick Gammon. It's exactly what I need for my project. I put this exact sketch in my Arduino Uno R3 and it works perfectly. I get a nice clock signal on D11 which I verify with my oscilloscope.

I need to upgrade my project for more memory so I bought some Arduino Mega 2560 R3s. When I put this exact code in my Arduino Mega, I don't get any signal on D11. I tried this code on 2 Unos (both work) and 2 Megas (don't work). I also modified the code to Timer 1 with pin D9. Same thing, it works on the Unos but not the Megas. I must be missing something about the Arduino Megas. Can anyone help?

Thanks in advance, Curt

const byte LED = 11;  // Timer 2 "A" output: OC2A

void setup() {
  pinMode (LED, OUTPUT);
  // set up Timer 2
  TCCR2A = _BV (COM2A0) | _BV(WGM21);  // CTC, toggle OC2A on Compare Match
  TCCR2B = _BV (CS20);   // No prescaler
  OCR2A =  209;          // compare A register value (210 * clock speed)
                         //  = 13.125 nS , so frequency is 1 / (2 * 13.125) = 38095

}  // end of setup

void loop() { }