chickadee » raspberry-pi-gpio » setup-system

setup-systemprocedure

Use the /sys/class/gpio interface rather than accessing the hardware directly. This can be called as a non-root user provided the GPIO pins have been exported before-hand using the gpio program.