summaryrefslogtreecommitdiff
path: root/rotor/init_3.4.sh
blob: 9852ddf1d14c2f7541c1676e5762d114376d3734 (plain)
1
2
3
4
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