view py/setup_gpio.sh @ 286:61269311ed3d

wrong degree symbol
author Matt Johnston <matt@ucc.asn.au>
date Mon, 20 Feb 2017 23:23:57 +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