diff --git a/gpio.sh b/gpio.sh index f450ae9..7835beb 100755 --- a/gpio.sh +++ b/gpio.sh @@ -2,6 +2,9 @@ GPIO=$1 value=$2 +PATH=/sys/class/gpio/chip0/export + +echo $1 > $PATH echo "Script: $0" echo "GPIO: $GPIO"