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.
Continue to SysProgs for the full tutorial –
And here is another example using python –