GPIO

From The World according to Vissie
Revision as of 06:35, 19 June 2016 by Vissie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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