view py/setup_gpio.sh @ 239:659953f2ee03

ds18b20 works
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 May 2015 15:07:57 +0000
parents d03157c7ad60
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