Power & Source of Big Ideas

undefined references compile

Moderators: chensy, FATechsupport

I trying my first app following the code of matrix-led

the git sample works fine, but in my code

I am unable to define the reference of; exportGPIOPin or setGPIOValue, where are defines this functions, is it a missing include library?

second question: it is possible to use the WiringPI library with the NanoPi2? the GPIO 40 pins is full compatible with Raspberry PI2 (40 pin GPIO)?
Please try these steps :

$ apt-get update && apt-get install git
$ git clone https://github.com/friendlyarm/matrix.git
$ cd matrix
$ make && make install

Then try your executable on your board:
$ matrix-gpio_out

No we didn't test the WritingPI on our boards.

No the 40pin pin-header is not 100% pin to pin compatible to that of the Raspberry Pi.

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 5 guests