summaryrefslogtreecommitdiff
path: root/rotor/init_3.4.sh
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2015-09-28 22:36:59 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2015-09-28 22:36:59 +0200
commitcb4f3500bcacec7cd377a8b0de28799b2bc01972 (patch)
treee755781b813979abf9b5a72b25c470702eb6c25d /rotor/init_3.4.sh
parent3850058aa07df5bb542822eac24d50c961fdacec (diff)
Split code in directories
Diffstat (limited to 'rotor/init_3.4.sh')
-rwxr-xr-xrotor/init_3.4.sh5
1 files changed, 5 insertions, 0 deletions
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