WiringNP
WiringNP copied to clipboard
This is a GPIO access library for NanoPI. It is based on the WiringOP for Orange PI which is based on original WiringPi for Raspberry Pi.
I've forked and friendlyarms fork of this repo. when running gpio readall I get the 'bold' output. when changing the pin to output and high and low the gpio readall...
Hi, i'm able to manage GPIO pins by /sys/class/gpio in sys mode (export/unexport), to turn on a led for example, but i'm not able to manage a DHT11 or ultrasonic...
I created an SD card with a fresh copy of "nanopi-neo2_friendlycore-xenial_4.14.52_20180628.img" logged on as root via ssh after the first boot I disabled UART2 with npi-config then I installed wiringnp...
I have a NanoPi A64 based on the Allwinner A64 chip How can I add support for it in this library ?
gpio says.. on NEO2.....root@neo2:~/WiringNP# gpio readall piBoardRev: Unable to determine board revision from /proc/cpuinfo -> Is not H3 based board -> You may want to check: -> http://www.lemaker.org/
It's works right in RPi. Pulse width is 1.5ms gpio mode 1 pwm gpio pwm-ms gpio pwmc 1920 gpio pwmr 200 # 0.1 ms per unit gpio pwm 1 15...