This shows you how to Read Remote IR Signals and then Transmit them yourself
FIRST: Use the IR_REMOTE_read.ino file to receive and record the IR commands coming from your remote
SECOND: Use the IR_REMOTE_send.ino file to use the recorded commands and send them to your TV
For more in depth details, visit this URL for a YouTube Tutorial - https://www.youtube.com/watch?v=bketb8PZtuQ