Hi Bob,
Thanks for the reply, I was able to follow your install instructions seemingly without any problems, however I cant load the library from sudo wolfram.
All smooth sailing with github clone:
pi@raspberrypi ~ $ git clone git://github.com/bobthechemist/wiringPiLink.git
Cloning into 'wiringPiLink'...
remote: Counting objects: 31, done.
remote: Total 31 (delta 0), reused 0 (delta 0), pack-reused 31
Receiving objects: 100% (31/31), 7.93 KiB, done.
Resolving deltas: 100% (10/10), done.
compile.sh neatly produces two files libwiringpi.so.1.0.2 and wiringpilink.o
With the file copied into the Linux-ARM directory (using cp ~/test/wiringPiLink/libwiringpi.so.1.0.2 wiringPiLink/LibraryResources/Linux-ARM) and running inside sudo wolfram, I get the following:
In[1]:= <<wiringPiLink`
Unable to open SPI device: No such file or directory
I have Gordons most recent wiringPi installation in ~/wiringPi and am able to compile and run his examples. It'd be great to know if you have any ideas where I have made an error, staying inside Mathematica to access pwm is awesome and Id love to get your code up and running.
Cheers,
Hans