How to work an ir remote

Ok, I hav got a universal remote and a vishay TSOP IR receiver. I want to know what program i need to run to be able to decode each button. (the arduino site only has a program for a sony remote)

Tnx :)

So, set up your [u]universal[/u] remote to a Sony TV and use the Sony examples. No?

Yeah, Sony protocol is the easiest. I've implemented this code and works well. The latest code in this thread is interrupt based so you can do other things besides looping around waiting for the remote.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1176098434/3#3 I posted the last code and it has some minor errors, but it works.

Thank you will do that