I have an HDMI switch working manually because I lost the original ir remote control. These cheap devices have no manual so I can not check the protocol used.
NOW, if I recall the universal remote has a SETUP key. You keep pressing it until the device in question is turned ON. This way the universal remote CAN DETECT the protocol.
I want to emulate this procedure using Arduino ( I do not have Universal Remote).
By putting IR transmitter in pin 3 as IRrecord.ino suggestion by shirriff/Arduino-IRremote. I use a switch to blast ON code from different protocols until I hit the right code. The sketch will spell out the data I need.
Searching the internet for such a sketch was an impossible task. All I get ASSUME I have the original Remote which I do not !!!!
Can anyone shed some light on this VERY COMMON case ( loosing the remote)