I'm encountering the same problem - don't know how to map lines to actual GPIO pins on the Nano Pi. Does anyone have any info on this?