Edited by nopnop2002 at 2017-3-18 22:51
You can update WiringPi-Python-OP to WiringPi-Python-OP-ZERO.
1.Download [WiringOP libary for the Orange Pi Zero] from here.
https://github.com/xpertsavenue/WiringOP-Zero
2.Download [WiringPi-Python-OP] from here.(But not Install)
https://github.com/lanefu/WiringPi-Python-OP
3.Replace base library
cd WiringPi-Python-OP
rm -R WiringPi
cp -R $HOME/WiringOP-Zero ./
mv WiringOP-Zero WiringPi
4.Build WiringPi-Python-OP-ZERO library
sudo apt-get install python-dev python-setuptools swig
swig2.0 -python wiringpi.i
sudo python setup.py install
cd tests
sudo python test.py
WiringPi-Python-OP-ZERO have there pin.
PysPin PinInLib
1(3.3V)
2(5V)
3 8
4(5V)
5 9
6(GND)
7 7
8 15
9(GND)
10 16
11 0
12 1
13 2
14(GND)
15 3
16 4
17(3.3V)
18 5
19 12
20(GND)
21 13
22 6
23 14
24 10
25(GND)
26 11
This is same as RPI TYPE A or B