WiringOP for Orange pi zero 看全部

Edited by nopnop2002 at 2017-3-18 22:51
quote: diyer replied at 2017-3-6 06:03
can someone explain how to map wiringPO on zero plaese?

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



Thanks for your help nopnop2002
https://descubriendolaorangepi.w ... -libreria-wiringop/   At link there are github links  for H3,  H5, H2 .
for orange pi zero I found this

https://github.com/xpertsavenue/WiringOP-Zero

Edited by BobbyBalsa at 2018-6-25 16:37

this one works for the zero , out of the box :OPI-zero

and a nice tutorial , in German :
OPi zero first steps



1 ..2345.. 7NextPage