Since we have not gotten the gpio utility yet, let's do that now
cd /tmp wget http://project-downloads.drogon.net/files/wiringPi.tgzAnd next for the install steps go to Gordon's web site .
sudo pip install RPi.GPIOThis will grab the Python gpio library, next we need to get it doing something more interresting in Python.
To speed things up, you may want to set up the root user:
sudo passwd rootand then login again as root this time
The GPIO library sample code can be found in the magpi.
The fun result of all this is the game of ladder, which combines hardware and software with your skill at both :
Here is a video of everything on a breadboard stuck to the prototyping area on my Pi. (The prototyping base is available from SK Pang)