Power & Source of Big Ideas

GPIO/SPI development API on NanoPi A64/Ubuntu-core

Moderators: chensy, FATechsupport

I've got a NanoPi64 and made it run the Ubuntu core from nanopi-a64_friendlycore-xenial_3.10.65_20180207.img
I need to communicate with devices plugged on SPI bus on the GPIO pins 19/21/23 and 24/26.
Which API is available ?

I previously developped on RPi with the BCM2835 C library http://www.airspayce.com/mikem/bcm2835/
but I could use any C library.

Thanks !
I'm looking at the /sys/class/gpio because I've not found anything better.
But how to know which gpio number map to the NanoPi-A64 GPI header pins ?

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 102 on Mon Oct 08, 2018 12:42 pm

Users browsing this forum: No registered users and 1 guest