GPIO library - wiringX
I did a lot of searching and testing to find a domotica system that is compatible with Orange Pi and 433mhz receiver directly connected to GPIO. I ran into pilight that is working with wiringX.WiringX is modified to be working with the A20 from bananapi. Now we have WiringPi been modified for the H3 from Orange Pi so i was wondering if there is somebody who can modify wiringX to work also with the H3 (orange pi). You can find wiringX here: https://github.com/wiringX/wiringX as you can see there is allready a support for banana pi so if some is beable to understand the modifiation made to WiringPi for Orange Pi and uses this on wiringX we should be able to create a working wiringX version on Orange Pi.I hope someone can take a look at this
:lol:handshake
Twain replied at 2017-4-19 17:45
Hey there!
I was looking for such an modification myself, sadly i was unable to find one ... .
HI:
H3 WiringPi GPIO: git clone https://github.com/kazukioishi/WiringOP.git -b h3
H5(PC2) WiringPi GPIO:git clone https://github.com/kazukioishi/WiringOP.git -b h5
H2(zero) WiringPi GPIO:git clone https://github.com/xpertsavenue/WiringOP-Zero.git
I hope it can help you.
Hi cbbc, thanks for your reply.
Though sadly, this was not exactly what apocalyps and i were looking for:P
The programs linked, are the equipollent to the WiringPi implementation on the raspberry pi.
What i was looking for was the equipollent to WiringX implementation on the raspberry pi.
WiringX does more or less the same, but based on a more modular approach than WiringPi.
In order to get WiringX working on the orangepi pc plus, one needs to adapt 2 files within the WiringX source code.
I am sure, this modification can easily be done by someone who managed to get WiringOP working. Sadly this is not me
This is WiringX
http://wiringx.org/
Source-code:
https://github.com/wiringX/wiringX
Files, that needs to be adapted:
https://github.com/wiringX/wiringX/tree/master/src
(2 files for each new device)
Would love to hear from you about such a modification!
BR
Does anyone know if there is a wiringop library for orange pi 2G-iot?
I tested some libraries and always get the same error when type "gpio readall"
root@OrangePI:~# gpio readall
+-----+-----+---------+------+---+--Banana Pro-[ 87.494018] Unhandled fault: external abort on non-linefetch (0x008) at 0xb6ff6000
-+---+------+---------+-----+-----+
| BCM | wPi | Name| Mode | V | Physical | V | Mode | Name | wPi | BCM |
+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
| | | 3.3v | | |1 || 2| | | 5v | | |
Bus error
What library to use for raspberry 2g iot?
how to install? yoelmend replied at 2017-6-13 11:33
What library to use for raspberry 2g iot?
how to install?
There is nothing in the present.
page:
[1]