Dont forget to add if you were satisfy with the software!
DTS file for setting MQ-Quad / MCore-H616 board
sudo apt-get install sunxi-tools device-tree-compiler rpi.gpio-common
cd /boot/dtb/allwinner/
dtc -I dts -O dtb -f sun50i-h616-biqu.dts -o sun50i-h616-biqu.dtb
current version 0.5.4 (added some not applied pull-request from origin https://github.com/rm-hull/OPi.GPIO project & my changes)
this version is not distributed by pypi.org, I respect owner of the project.
Added mangopi library
How to compile lib:
cd OPi.GPIO
sudo bin/make_release.sh
cd dist
pip3 install OPi.GPIO-0.5.4-py2.py3-none-any.whl
permission rights for your user
sudo groupadd gpio
sudo usermod -aG gpio <myusername>
su <myusername>
sudo chgrp gpio /sys/class/gpio/export
sudo chgrp gpio /sys/class/gpio/unexport
sudo chmod 775 /sys/class/gpio/export
sudo chmod 775 /sys/class/gpio/unexpor
test of flashing LED
./led_mq_quad.py
Setting of orangepiEnv.txt
comet@mango:~$ cat /boot/orangepiEnv.txt
verbosity=1
bootlogo=false
console=serial
disp_mode=1920x1080p60
fdtfile=allwinner/sun50i-h616-biqu.dtb
overlay_prefix=sun50i-h616,i2c0,i2c1
rootdev=UUID=f64a1bf8-9eaf-4ea7-a699-71dd553b9872
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
comet@mangopi:/boot/dtb/allwinner$ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- 62 -- -- -- -- -- -- -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --