Using infrared input via samsung remote

I have been trying to use a samsung remote to do specific functions on an arduino uno (such as switching on a LED on Pin 13 when 1 is pressed on the remote, LED on Pin 12 when 2 is pressed and so on). Can someone please give me the code for such a program as i have failed miserably every time. This is the remote - http://www.samsungparts.com/Products/Parts_and_Accessories/PID-BN59-01041A.aspx?model=

mmohta007: Can someone please give me the code for such a program

What have you tried?

A good place to start is with the IRremote library, an Arduino & and Ir receiver. And your leds of course. Also serach for the site (sb-projects IR) tells you most things about IR remote signals

Use the IRremote library to decode the signals from your remote and then you just have a simple Arduino project to complete.

As per the previous post, you will need to try something, before people can help you out.