Hi Steven,

I'm also interested. I'll received a Pi 3 soon and I'll want to use the GPIO as well, as well as looking
at performances issues, especially at the IDE level.

Have you tried to use:

- command line manipulation of the GPIO via OSProcess ?

Create a GPIO file access:
echo 11 > /sys/class/gpio/export��

Configure the Pin Direction (In/Out):
echo out > /sys/class/gpio/gpio11/direction

Write a value to turn on the LED using the GPIO11:
echo 1 > /sys/class/gpio/gpio11/value

Now your led should be ON!!!

Write a value to clear the LED using the GPIO11
echo 0 > /sys/class/gpio/gpio11/value

Now your led should be OFF!!!

Delete the created GPIO (11)
echo 11 >��/sys/class/gpio/unexport

(you can run those commands from Pharo)

Those commands reach ~ 4 kHz on toggling on or off a gpio pin.

Thierry

2016-06-14 16:28 GMT+02:00 sergio ruiz <sergio.rrd@gmail.com>:
Please keep us posted on this.

I have a project that his waiting on this.

Thanks!


> On Jun 13, 2016, at 11:10 AM, Steven Costiou <steven.costiou@kloum.io> wrote:
>
> 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.rrd@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/
>>>> Pharo code ( probably on Pharo 3 or 4).
>>>> 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.ThoseOptimizeGuys.com
>>> http://www.CodingForHire.com
>>> http://www.coffee-black.com
>>> http://www.painlessfrugality.com
>>> http://www.twitter.com/sergio_101
>>> http://www.facebook.com/sergio101
>>
>> ----
>> peace,
>> sergio
>> photographer, journalist, visionary
>> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
>> http://www.Village-Buzz.com
>> http://www.ThoseOptimizeGuys.com
>> http://www.CodingForHire.com
>> http://www.coffee-black.com
>> http://www.painlessfrugality.com
>> http://www.twitter.com/sergio_101
>> http://www.facebook.com/sergio101
>
> --
> kloum.io

----
peace,
sergio
photographer, journalist, visionary
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101