From: Simon Wright <simon@pushface.org>
Subject: Re: Ada on Raspberry Pi: new article in MagPi issue 8
Date: Tue, 11 Dec 2012 12:34:23 +0000
Date: 2012-12-11T12:34:23+00:00 [thread overview]
Message-ID: <lyd2ygzs1c.fsf@pushface.org> (raw)
In-Reply-To: lyobi1zmwy.fsf@pushface.org
Simon Wright <simon@pushface.org> writes:
> The "interrupt" changes will be based on WiringPi at
> https://projects.drogon.net/raspberry-pi/wiringpi/ and will effectively
> provide an Ada interface to GPIO - I'm trying to avoid too much direct
> work with GPIO in case I let the magic smoke out.
I see I've already got some early code up there: [1].
The reason for going with an interface like wiringPi, by the way, is
that direct access to RPi GPIO requires root privilege. wiringPi
provides a setuid-root program gpio; it lets you - for example - access
the value on GPIO pin x at /sys/class/gpio/gpiox/value.
[1] https://sourceforge.net/u/simonjwright/wiringpi-ada/code
next prev parent reply other threads:[~2012-12-13 8:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-02 0:51 Ada on Raspberry Pi: new article in MagPi issue 8 Rego, P.
2012-12-02 17:19 ` Luke A. Guest
2012-12-02 18:23 ` tonyg
2012-12-02 18:47 ` Bill Findlay
2012-12-02 19:22 ` Shark8
2012-12-03 11:53 ` Georg Bauhaus
2012-12-04 1:44 ` Rego, P.
2012-12-10 20:12 ` Simon Wright
2012-12-11 12:34 ` Simon Wright [this message]
2012-12-11 11:04 ` Jacob Sparre Andersen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox