comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Ada / Automation fellows
Date: Sat, 28 Mar 2015 11:52:19 +0000
Date: 2015-03-28T11:52:19+00:00	[thread overview]
Message-ID: <lyh9t5tk3w.fsf@pushface.org> (raw)
In-Reply-To: 1xmowzmu1ex3u.l4fxgvqvgbqg.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> A short question. How do you access GPIO on Raspberry Pi? Over the text
> file devices?
>
> We access GPIO, analogue inputs and PWM output through text files. It looks
> crazy to me. Is there a better way?

Is this through the /proc filesystem? It goes against the grain, but it
does hide the gruesomeness of an ioctl-based interface; and not really
further removed from reality than presenting GPIO as a character
device.


  reply	other threads:[~2015-03-28 11:52 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26 10:37 Ada / Automation fellows slos
2015-03-26 15:11 ` Dmitry A. Kazakov
2015-03-27 21:19   ` slos
2015-03-28  9:05     ` Dmitry A. Kazakov
2015-03-28 22:36       ` slos
2015-03-29  9:30         ` Dmitry A. Kazakov
2015-03-29  2:06       ` David Botton
2015-03-29  9:44         ` Dmitry A. Kazakov
2015-03-29 14:37           ` David Botton
2015-03-26 21:05 ` Randy Brukardt
2015-03-27 21:46   ` slos
2015-03-27 15:34 ` Björn Lundin
2015-03-27 21:59   ` slos
2015-03-28  9:20     ` Dmitry A. Kazakov
2015-03-28 11:52       ` Simon Wright [this message]
2015-03-28 14:53         ` Dmitry A. Kazakov
2015-03-28 12:03       ` Björn Lundin
2015-03-28 14:55         ` Dmitry A. Kazakov
2015-03-29  8:56           ` Björn Lundin
2015-03-29  9:52             ` Dmitry A. Kazakov
2015-03-28 22:05       ` slos
2015-03-29  9:49         ` Dmitry A. Kazakov
2015-03-28 11:43     ` Björn Lundin
2015-03-28 22:47       ` slos
2015-03-29  8:57         ` Björn Lundin
2015-03-30 21:57 ` lgrphotography84
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox