The RPi.GPIO Python library allows you to easily configure and read-write the input/output pins on the Pi’s GPIO header within a Python script.
This article is an updated version to take into account changes in the RPi.GPIO library and the release of the Raspbian SD card image.
UPDATE : Please use the Install RPi.GPIO Python Library article as this page is no longer updated.
2 Comments
Thank you for this – I’m at the stage where I haven’t a clue how the GPIO works, I just want to _use_ the thing 😉
I know this article is a few weeks old, but it’s worth noting that adafruit’s RPi distro Occidentalis comes with GPIO, I2C, SSH etc support enabled. It looks like a good distro for anyone doing I/O work.