Last active
November 4, 2019 01:52
-
-
Save ripleymj/49b74a9e7b20a7c78156f196121f241c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo raspi-config | |
#Interfacing options -> Enable SPI and I2C | |
Python2 | |
apt-get install python-bme680 python-smbus python-numpy | |
apt-get install python-dev python-pip libfreetype6-dev libjpeg-dev build-essential libopenjp2-7 libtiff5 | |
Python3 | |
apt-get install python3-bme680 python3-smbus python3-numpy | |
apt-get install python3-dev python3-pip libfreetype6-dev libjpeg-dev build-essential libopenjp2-7 libtiff5 | |
sudo pip3 install --upgrade luma.oled | |
git clone https://github.com/pimoroni/bme680-python | |
git clone https://github.com/rm-hull/luma.examples | |
python3 bounce.py --display sh1106 --height 128 --rotate 2 --interface spi --gpio-data-command 9 --spi-device 1 | |
python3 starfield.py --display sh1106 --height 128 --rotate 2 --interface spi --gpio-data-command 9 --spi-device 1 | |
git clone https://github.com/pimoroni/rgbmatrix5x5-python | |
export PYTHONPATH=~/rgbmatrix5x5-python/library |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment