view py/setup_gpio.sh @ 560:18e6e830ca26

merge long polling
author Matt Johnston <matt@ucc.asn.au>
date Tue, 09 Jun 2015 23:39:22 +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