You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
161 B
Bash

#!/bin/bash
GPIO=$1
value=$2
PATH=/sys/class/gpio/chip0/export
echo $1 > $PATH
echo "Script: $0"
echo "GPIO: $GPIO"
echo "Value: $value"
echo "-=-=-=-=-=-=-"