Situation: I was trying to make a simple Arduino program that mimics my TV-Remote ON-OFF button.
Diagnosis: It just won't work. So just to check I grabbed another Arduino (2) and added my IR-Sensor to that one and let it look for the signals sent by Arduino (1).
Conclusion: Even though I ran exactly the same program in a loop sending IR signals, Arduino (2) noticed each time another IR signal. The received signals didn't even look like the IR signal I sent.
The program I use to mimic my remote: Link to the Github. It is an example of a Lib
It could be the LED. Just a LED I picked up without being specific. Link to the Documentation of the LED