This has to be the hardware equal to the “Hello World” program used when learning a new language.

In this tutorial you will learn how to make an LED blink using the Raspberry PI GPIO port and a little C++ code.

The schematic couldn’t be easier and is similar to the Arduino method, although the code is a little longer.

raspberry-pi-blinking-led-diagram

Continue to SysProgs for the full tutorial –
http://visualgdb.com/tutorials/raspberry/LED/

And here is another example using python –
http://log.liminastudio.com/writing/tutorials/tutorial-how-to-use-your-raspberry-pi-like-an-arduino