Wrestling with my gadget in this and the TVBG forum I finally resolved the frustrations I had in grabbing and re-transmitting code in some of my TV's,using the IR LED Tutorial.
It turned out that the code transmission success is a function of both the pulse code, obviously, but equally important, the Carrier frequency.
The conventional carrier frequency used in the literature is 38Khz and the 10/3 on off periods producing that frequency.
Two of my TV's at home , a Sony and an RCA were particulary not responding.After hours of trials and research I came across SB Projects site http://sbprojects.com/knowledge/ir/rca.php
stating that Sony Protocl typically uses 40Khz carrier for their remotes and surprisingly RCA Protocol use 56 Khz !
Adjusting my periods to reflect those frequencies resolved my problem.
This necessitated modifying the coding of the sketch with a location switch to accomodate the two different locations and carrier frequencies.
A two way switch, reading the state of two pins on the chip, was my easiest way out but more locations could probably be handled with a rotary switch or such. Working on it, as well as the addition of two buttons for Vol UP and Vol Dn override buttons using interrupts .
Attchached are more recent shots of my gadget taken with a higher resolution camera. these will come in two posts since onl 3 attachments are allowed per post.
Hope this helps