Did you get anywhere with the Arduino Mega IR functions problem.
I have tried to get my Mega 2560 to do a simple read of a 38kHz IR detector and having tried a few pins, 11,10 and 47 have got unreliable results and most of it not decoding at all.
Some of the dumps sort of look promising -
0
Could not decode message
Raw (68): -13296 8850 -4450 500 -650 450 -600 550 -600 450 -650 500 -600 500 -600 500 -600 500 -600 500 -1750 500 -1700 500 -1700 500 -1750 500 -1700 500 -1700 500 -1750 500 -1700 500 -1700 500 -650 450 -1750 450 -650 500 -1700 500 -650 450 -650 450 -650 500 -600 500 -1700 500 -650 450 -1750 500 -600 500 -1700 500 -1700 550 -1700 500
0
Could not decode message
Raw (26): 16764 2400 -600 550 -650 550 -650 1200 -600 550 -650 550 -650 550 -650 550 -700 1150 -650 550 -650 550 -650 550 -650 550
210
Decoded SONY: 210 (12 bits)
Raw (26): -25000 2350 -600 550 -650 550 -650 1150 -600 600 -650 550 -650 500 -650 600 -650 1150 -650 550 -650 550 -600 600 -600 600
0
Could not decode message
Raw (26): 31102 2350 -650 1150 -650 1150 -650 550 -650 550 -650 500 -700 500 -700 550 -700 1150 -650 500 -700 550 -650 550 -650 500
One or two Sony were detected out of about 30 presses (I have just a shown some above to include a Sony that "worked"). I was using pin10 for the input.
Cheers, Rob