Hi ,
I am trying to connect a LED to my RaspBerry; the new one B2. I am using pin 1, which is physically pin 28 as far as I can find from the documentation.
I didn't get it working and thought that possibly the jPi4J library or one of its underlaying components was not up to date. Finally I found an update for the WiringPi library to cope with the changed board lay-out of the B2 board. I installed that update.
Now I get the message below when I start my B4J program.
Program started.
(ArrayList) [/dev/ttyUSB0]
Mar 28, 2015 6:32:18 PM com.pi4j.util.NativeLibraryLoader loadLibraryFromResource
WARNING: The temporary file already exists [/tmp/libpi4j.so]; attempting to delete it now.
wiringPi:
Must be root to call wiringPiSetup().
(Did you forget sudo?)
I installed everything as sudo.
I do not know what to do. Can somebody help me?
Harry
I am trying to connect a LED to my RaspBerry; the new one B2. I am using pin 1, which is physically pin 28 as far as I can find from the documentation.
I didn't get it working and thought that possibly the jPi4J library or one of its underlaying components was not up to date. Finally I found an update for the WiringPi library to cope with the changed board lay-out of the B2 board. I installed that update.
Now I get the message below when I start my B4J program.
Program started.
(ArrayList) [/dev/ttyUSB0]
Mar 28, 2015 6:32:18 PM com.pi4j.util.NativeLibraryLoader loadLibraryFromResource
WARNING: The temporary file already exists [/tmp/libpi4j.so]; attempting to delete it now.
wiringPi:
Must be root to call wiringPiSetup().
(Did you forget sudo?)
I installed everything as sudo.
I do not know what to do. Can somebody help me?
Harry