If this version is updated you will need to make appropriate changes to the version number in the commands below. The package is available from and the current version is 0.5.11 (February 2015). If it is already installed it will be upgraded if a newer version is available. If it isn’t already installed it will be installed. ![]() Then attempt to install the RPi.GPIO package : sudo apt-get install rpi.gpio First you need to update the available package versions : sudo apt-get update If the package exists in the Raspbian repository is can be installed using apt-get. If you are using a fresh image you don’t need to install it but I’ve kept the instructions here in case you ever want to try a manually installation. ![]() 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. Thankfully this library is now including in the standard Raspbian image available from the Foundations Download Page.
0 Comments
Leave a Reply. |