Running Armbian Ubuntu 18.04 with stock neo2 4.19.20 kernel
I tried installing https://github.com/friendlyarm/WiringNP but after installation `gpio readall` says : "This NanoPi model is currently not supported."
However all the wiki's and the Github page says it's supported.......?
I can see GPIO in the sys fs at /sys/class/gpio/ but I was hoping to have an easier time with it than manually exporting each pin and calculating offsets for pins with scraps of info online etc.
Objective 1: Read a high/low 3.3v/0v status from a GPIO
* Supports general key, hold key and already hold key
* Supports single , normal and continuous work mode
I don't need high speed sampling, don't need interrupts, the simpler and easier the implementation the better.
Any help will be much appreciated
PS: How to fix friendlyarm/WiringNP
friendlyarm/WiringNP is not accepting issues on their github repo, but it seems to be the best fork out there.
How can we get them to accept issues and how can we fix the issue?
Question
Lope
Hi all,
Running Armbian Ubuntu 18.04 with stock neo2 4.19.20 kernel
I tried installing https://github.com/friendlyarm/WiringNP but after installation `gpio readall` says : "This NanoPi model is currently not supported."
However all the wiki's and the Github page says it's supported.......?
I can see GPIO in the sys fs at /sys/class/gpio/ but I was hoping to have an easier time with it than manually exporting each pin and calculating offsets for pins with scraps of info online etc.
Objective 1: Read a high/low 3.3v/0v status from a GPIO
Objective 2: Read an analog voltage, using an ADC. Does the H5 include an ADC?
When I look in http://wiki.friendlyarm.com/wiki/images/d/de/Allwinner_H5_Datasheet_V1.0.pdf
Page 13 says 2.1.4.9.KEYADC
* Analog to digital converter with 6-bit resolution for key application
* Maximum sampling frequency up to 250 Hz
* Supports general key, hold key and already hold key
* Supports single , normal and continuous work mode
I don't need high speed sampling, don't need interrupts, the simpler and easier the implementation the better.
Any help will be much appreciated
PS: How to fix friendlyarm/WiringNP
friendlyarm/WiringNP is not accepting issues on their github repo, but it seems to be the best fork out there.
How can we get them to accept issues and how can we fix the issue?
http://forked.yannick.io/friendlyarm/WiringNP
Link to comment
Share on other sites
9 answers to this question
Recommended Posts