[squeak-dev] raspberry question

Denis Kudriashov dionisiydk at gmail.com
Thu Apr 27 18:51:48 UTC 2017


2017-04-27 18:58 GMT+02:00 tim Rowledge <tim at rowledge.org>:

> Hi Denis;
>
> > On 27-04-2017, at 6:17 AM, Denis Kudriashov <dionisiydk at gmail.com>
> wrote:
>
> > Can you compare wiringPi library and your set of packages for GPIO?
> (there is ffi binding to wiringPi at smalltalkhub)
>
> First question - how did you find a wiringpi package on smalltalkhub? I
> never seem to be able to find *anything* there, which frequently annoys me.
>

I asked Jean Baptiste. In past he built CI job for pharo on RPi at Inria


>
> WiringPi (www.wiringpi.com) is a decent library to make it easier for
> Ardunio habitués to adapt. It provides a lot of good stuff and I used it
> for some time in the early days of the ScratchGPIO work. Where it falls
> down is Gordon’s insistence on rather aggressively exiting the process when
> errors occur. Eventually that got a bit annoying.
>
Yes, I was also surprized. But there is env variable to disable this
behaivour

>
> The library I moved over to, and that is used in the HardwarePeripherals
> package for Pi, is pigpio (http://abyz.co.uk/rpi/pigpio/). It is a fair
> bit more sophisticated and offers both locally bound and daemon versions of
> the core - I use the daemon because that avoids the all-too-common problem
> of ALSA screwing up interrupt handling. It also allows for the daemon to be
> running on a *different* Pi, giving remote control for free.
> Pigpio has a lot of clever stuff that gets down to the gpio hardware
> better than wiringPi. Both are installed by default on Raspbian so it is no
> problem to choose either for any project you are considering.
>

I will look at your code
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170427/2ffa1731/attachment-0001.html>


More information about the Squeak-dev mailing list