Using the Arduino as an IR remote

Most likely your issue is that when the LED is set to logical one it isn't supposed to be constant. Most likely it's supposed to be pulsing at the carrier frequency of 38KHz.

I created a sample program for a few devices and posted the code Here.

Good Luck!