Raspberry Pi Linux LESSON 26: Controlling the Raspberry Pi GPIO pins from Python
In this tutorial we show how to control the GPIO pins on the Raspberry Pi from a python program. We introduce the concepts by running commands from the python shell, and then show how to blink an LED using a python program. We explore both the BOARD and BCM pin numbering schemes.
See full details at:
Raspberry Pi LInux LESSON 26: Controlling GPIO Pins in Python