
OLED Software
The software to setup the OLED and run it each time the pi is started can be a little tricky is your
new to pi. Following the steps below should get you started.
Before you start, command inputs are case sensitive so make sure you are aware of any case
changes. Also pay attention to
‘
-
‘
(dashes) and
‘
- -
‘
(double dashes) and
‘
_
’
(underlines). This
will save you some headache time!!
Update Operating System & Install Python3
sudo apt -get update
sudo apt -get full -upgrade
sudo reboot
When system rebooted:
sudo apt -get install python3-pip
sudo pip3 install
–
upgrade setuptools
Install / update Dependency Libraries
The following libraries may already be installed but run these commands anyway to make sure :
cd ~
sudo pip3 install --upgrade adafruit-python-shell
https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-
Scripts/master/raspi-blinka.py
sudo python3 raspi-blinka.py
Hit yes to any prompts which may come up to reboot at the end.
The above script will have enabled the I2C communications interface which is needed for the
display. To see if its connected type:
sudo i2cdetect -y 1