comp.lang.ada
 help / color / mirror / Atom feed
From: Philip Munts <philip.munts@gmail.com>
Subject: Re: GNATCOLL-Mmap example
Date: Tue, 28 Jan 2020 11:11:10 -0800 (PST)
Date: 2020-01-28T11:11:10-08:00	[thread overview]
Message-ID: <f3c0a81a-c0a9-4ed8-8ba5-8971cd2ce13f@googlegroups.com> (raw)
In-Reply-To: <r0or5j$7t3$1@gioia.aioe.org>

Or better yet, use my libsimpleio:

https://github.com/pmunts/libsimpleio

The sysfs API for GPIO is now deprecated.

Phil

On Tuesday, January 28, 2020 at 12:25:25 AM UTC-8, Dmitry A. Kazakov wrote:
> On 2020-01-25 22:52, Bob Goddard wrote:
> 
> > I need to map the RPi's GPIO memory addresses so that I can do what I need to do.
> 
> See files under:
> 
>     /sys/class/gpio
> 
> You can use standard Ada I/O to read and set GPIO pins. E.g.
> 
>     /sys/class/gpio/gpio/XXX/value
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de


  parent reply	other threads:[~2020-01-28 19:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-25 21:52 GNATCOLL-Mmap example Bob Goddard
2020-01-28  2:10 ` Stephen Leake
2020-01-28  5:59   ` J-P. Rosen
2020-01-28  8:25 ` Dmitry A. Kazakov
2020-01-28 18:53   ` Bob Goddard
2020-01-28 20:07     ` Dmitry A. Kazakov
2020-01-28 20:17       ` Bob Goddard
2020-01-29  8:19         ` Dmitry A. Kazakov
2020-01-29 21:56           ` Bob Goddard
2020-01-30  2:45             ` Dennis Lee Bieber
2020-01-31 16:59     ` Björn Lundin
2020-01-28 19:11   ` Philip Munts [this message]
2020-01-28 20:15     ` Dmitry A. Kazakov
2020-01-28 20:18     ` Philip Munts
2020-01-28 22:06       ` Bob Goddard
replies disabled

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