view py/setup_gpio.sh @ 545:de4e8f84d81f

merge
author Matt Johnston <matt@ucc.asn.au>
date Thu, 21 May 2015 00:01:09 +0800
parents 3a514fbb88eb
children 4632018d1c80
line wrap: on
line source

#!/bin/sh

# this must run as root

PINS="17"

for PIN in $PINS; do
    echo $PIN > /sys/class/gpio/export
done