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 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 825 on Wed Aug 28, 2019 3:18 pm

Users browsing this forum: No registered users and 1 guest