GPIO

From The World according to Vissie
Jump to navigation Jump to search

This is still a work in progress.

How to operate via GPIO

On Debian/Raspberian

apt-get install python-rpi.gpio python3-rpi.gpio


To get rid of having to run your python scripts as root the whole time, this worked for me:

chgrp -R dialout /sys/class/gpio
chmod -R g+rw /sys/class/gpio