There doesn't seem to be many Pharoisms in WiringPi; for a much snappier 
experience, you might want to check out Squeak instead.
Raspbian ships with both Spur and Non-Spur VM's included (courtesy of Scratch) 
which include optimized BitBlt primitives (may be absent from the old Pharo VM) 
+ it uses bitmap fonts and has less configurable, but faster tools.

Since WiringPi uses FFI though, you'd have to find and load that manually 
before the actual WiringPi package, no metacello config for squeak afaict.

Cheers,
Henry

> On 14 Jun 2016, at 1:42 , Steven Costiou <steven.cost...@kloum.io> wrote:
> 
> My bad, the leds were not on the right pins. Now all my leds are off and my 
> wiring is ok. It still doesn't work, but i'm not sure whether my setup is 
> wrong or if it just doesn't work anymore on Pharo5.
> 
> I will attempt to use the library outside Pharo, reconfigure a Pharo image & 
> vm and then try it again.
> 
> In the meantime if anyone does success at this, please let me know i am very 
> interested by using the GPIO pins from Pharo.
> 
> Steven.
> 
> 
> Le 2016-06-13 17:10, Steven Costiou a écrit :
> 
>> Hi,
>> 
>> i have tried to make it work but so far i can't get it right. Have you been 
>> able to work with it ?
>> 
>> I used pharo 5 latest non spur image with the non spur vm. It works on a 
>> raspberry 3 but it is very slow. I tried the led examples, the leds do not 
>> seem to be affected (some are on, some off, with a variable intensity).
>> 
>> 
>> Is there any specific settings needed for this to work ?
>> 
>> Thanks,
>> 
>> Steven.
>> 
>> 
>> Le 2016-05-27 20:11, sergio ruiz a écrit :
>> 
>> does anyone know if if pharo 5 runs on raspberry pi yet?
>> 
>> if so, i can poke around and see if i can get WiringPi to install on pharo 5.
>> 
>> thanks!
>> 
>> 
>> On May 27, 2016, at 1:56 PM, sergio ruiz <sergio....@gmail.com 
>> <mailto:sergio....@gmail.com>> wrote:
>> 
>> 
>> The raspberry pi slave seems to be disconnected so do not know the
>> status:
>> Library:
>> https://ci.inria.fr/pharo-contribution/job/WiringPi-ARM-AutomatedBuild/ 
>> <https://ci.inria.fr/pharo-contribution/job/WiringPi-ARM-AutomatedBuild/>
>> Pharo code ( probably on Pharo 3 or 4).
>> http://smalltalkhub.com/#!/~jeanbaptistearnaud/WiringPi 
>> <http://smalltalkhub.com/#!/~jeanbaptistearnaud/WiringPi>
>> great! i'll take a look at those!
>> 
>> thanks!
>> 
>> ----
>> peace,
>> sergio
>> photographer, journalist, visionary
>> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
>> http://www.Village-Buzz.com <http://www.village-buzz.com/>
>> http://www.ThoseOptimizeGuys.com <http://www.thoseoptimizeguys.com/>
>> http://www.CodingForHire.com <http://www.codingforhire.com/>
>> http://www.coffee-black.com <http://www.coffee-black.com/>
>> http://www.painlessfrugality.com <http://www.painlessfrugality.com/>
>> http://www.twitter.com/sergio_101 <http://www.twitter.com/sergio_101>
>> http://www.facebook.com/sergio101 <http://www.facebook.com/sergio101>
>> ----
>> peace,
>> sergio
>> photographer, journalist, visionary
>> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
>> http://www.Village-Buzz.com <http://www.village-buzz.com/>
>> http://www.ThoseOptimizeGuys.com <http://www.thoseoptimizeguys.com/>
>> http://www.CodingForHire.com <http://www.codingforhire.com/>
>> http://www.coffee-black.com <http://www.coffee-black.com/>
>> http://www.painlessfrugality.com <http://www.painlessfrugality.com/>
>> http://www.twitter.com/sergio_101 <http://www.twitter.com/sergio_101>
>> http://www.facebook.com/sergio101 <http://www.facebook.com/sergio101>
>> 
> --
> kloum.io

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to