How do I emulate the functionality of a TV-B-Gone with a infrared led I found in a old remote I found and a led along the awesome microcontroller that is the Photon.
You’d need an infrared library, and then all possible ‘off’ codes for all manufacturers. Then ‘simply’ cycle through them.
peekay123 would you be willing to port the TV-B-Gone arduino code to the Photon?
@rpiswag, not right now but once the new firmware is available, I could take a shot. 
Thanks! 
Check out @AnalysIR’s posts about generating IR signals on Arduino. At the end of part two, there’s even a link to some Photon code. That might help get you started.