I have not done an exhaustive check, but it looks like my code runs out of the box on the v2 model of the RPi. There are, however, some typos in my instructions. Here's the process I followed, so please tell me where things go wrong.
clone the repository. I made a directory called
~/test/ and put it there.
git clone git://github.com/bobthechemist/wiringPiLink.git
cd ~/test/wiringPiLink and make two directories
I am fairly new to software distribution, and this is clearly not the best implementation. Learning how to distribute my projects more effectively is on the list of things to do...
Compile the library and move it to the directory you just created
cp ~/test/wiringPiLink/libwiringpi.so.1.0.2 wiringPiLink/LibraryResources/Linux-ARM
Create a simple circuit with an LED and resistor. I have connected the circuit's ground to the RPi's ground and the circuit's positive to the RPi pin 16 (GPIO 23 or in the wiring pi definition, pin 4). Note that my software currently only recognizes the wiringPi definition. Load up wolfram (don't forget to
Now you should be able to load the library and use it
Please let me know where things go wrong so I can fix the bugs and send a new commit to github. Thanks for trying out the code