From cb4f3500bcacec7cd377a8b0de28799b2bc01972 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Mon, 28 Sep 2015 22:36:59 +0200 Subject: Split code in directories --- rotor/init_3.4.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 rotor/init_3.4.sh (limited to 'rotor/init_3.4.sh') diff --git a/rotor/init_3.4.sh b/rotor/init_3.4.sh new file mode 100755 index 0000000..9852ddf --- /dev/null +++ b/rotor/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