Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
enable-piglow.txt
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
You can’t perform that action at this time.