Hi,

Heres another IR thread....

Im thinking about making a video source switch, to switch between 4 video sources, based on whatever audio input is selected on my home theater amp.

What i would like to do is have the unit read the IR remote control codes that my amp remote sends to the amp, and if it receives one of four specific codes, then will raise an output pin to switch some relays, to select that video source.

What im after is what i need to do to read the four required IR codes and store them in eeprom, so if the pic receives one of these, it will change the outputs.

Can anyone provide any information to help get me started on the IR stuff?
ie how i initially log the codes, and how i store them in the pic.

Thanks