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 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 2 guests