view py/setup_gpio.sh @ 267:08c3cf3d0ded

fix wrong date format. how'd that slip in.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 11 Aug 2015 22:19:29 +0800
parents 659953f2ee03
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