Created
October 2, 2018 21:02
-
-
Save jkbryan/babe3e684f5a34383eefe0151e73e5b8 to your computer and use it in GitHub Desktop.
enable-piglow.txt
This file contains 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
nano /boot/config.txt | |
Add: | |
device_tree_param=bcm2709-rpi-2-b.dtb | |
device_tree_param=i2c1=on | |
device_tree_param=spi=on | |
nano /etc/modules-load.d/raspberrypi.conf | |
Add: i2c-dev | |
pacman -Syu | |
pacman -S python-pip base-devel i2c-tools python-psutil | |
pip install RPi.GPIO | |
pip install cffi | |
pip install smbus-cffi | |
Reboot | |
Get the PiGlow library and examples from https://github.com/benleb/PyGlow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment