RPi.GPIO_NP README
This is a modified version RPi.GPIO for NanoPi NEO/NEO2. We call it RPi.GPIO_NP. It is based on the original RPi.GPIO. The RPi.GPIO_NP API usage are the same to the original RPi.GPIO. You can donwload the RPi.GPIO_NP from: https://github.com/friendlyarm/RPi.GPIO_NP
git clone https://github.com/BigSensor/RPi.GPIO.NP
sudo apt-get update
sudo apt-get install python-dev
cd /RPi.GPIO_NP
python3 setup.py install
sudo python3 setup.py install
Please be attention that you need use both python and sudo python to make the RPi.GPIO_NP work well.