view py/setup_gpio.sh @ 288:95f704ce809d

start/end for debug
author Matt Johnston <matt@ucc.asn.au>
date Thu, 01 Feb 2018 23:49:48 +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