Adafruit Pi Code

To make life easy for those wishing to experiment with attaching electronics to their Pi, Adafruit have produced an extensive and extremely useful collection of code. This includes simple CircuitPython Libraries for a large number of modules, including displays, sensors, actuators and more. 

To fetch this code, you need to use some software called 'git'. .  

You will find the icon for a Terminal on your desktop.

Before we go any further, issue the following commands in a Terminal. This will ensure your packages are up to date. It does not matter which directory you are in.

Download: file
sudo apt-get update
sudo apt-get upgrade -y 
sudo apt-get dist-upgrade -y

Run the following command to install the adafruit_blinka CircuitPython Libraries.

Download: file
pip3 install adafruit-blinka
This guide was first published on Dec 14, 2012. It was last updated on Dec 14, 2012. This page (Adafruit Pi Code) was last updated on Jun 23, 2019.