Hardware Reference
In-Depth Information
Alternatively, the lines can be added using a graphical text editor such as,
leafpad and saving it:
sudo leafpad /etc/apt/sources.list
2. In order to ensure that the packages are downloaded from the quick2wire
repository, we need to authenicate the packages using a key available from
quick2wire:
wget https://raw.githubusercontent.com/quick2wire/quick2wire-
software-users/master/software@quick2wire.com.gpg.key
sudo apt-key add software@quick2wire.com.gpg.key
3. The cache is updated and the latest software packages can be downloaded
as follows:
sudo apt-get update
sudo apt-get upgrade
4. The quick2wire tool is installed as follows:
sudo apt-get install quick2wire-gpio-admin
sudo apt-get install quick2wire-python3-api
Objective complete - mini debriefing
Now, wasn't that easy? Let's get more familiar with the GPIO input/output operaions.
GPIO programming using Python
In this secion, we will ensure that the library is correctly installed and add the user to the
group. This will enable the user to use the GPIO pins without having root privileges. This will
be followed by the secion on geing started with GPIO control programming in Python.
 
Search WWH ::




Custom Search