From 3850058aa07df5bb542822eac24d50c961fdacec Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Jun 2015 17:16:54 +0100 Subject: Initial version --- init_3.4.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 init_3.4.sh (limited to 'init_3.4.sh') diff --git a/init_3.4.sh b/init_3.4.sh new file mode 100755 index 0000000..9852ddf --- /dev/null +++ b/init_3.4.sh @@ -0,0 +1,5 @@ +modprobe gpio-sunxi + +echo 15 > /sys/class/gpio/export +echo in > /sys/class/gpio/gpio15_pb2/direction +echo rising > /sys/class/gpio/gpio15_pb2/edge -- cgit v1.2.3