From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada / Automation fellows Date: Sat, 28 Mar 2015 15:55:54 +0100 Organization: cbb software GmbH Message-ID: References: <00d45b3c-0cde-4208-88a9-c79ec8100408@googlegroups.com> <1xmowzmu1ex3u.l4fxgvqvgbqg.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: w2sqUGEBZqsVBYNL7Ky3Kg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:25309 Date: 2015-03-28T15:55:54+01:00 List-Id: On Sat, 28 Mar 2015 13:03:10 +0100, Björn Lundin wrote: > On 2015-03-28 10:20, Dmitry A. Kazakov wrote: >> On Fri, 27 Mar 2015 14:59:24 -0700 (PDT), slos wrote: >> >>> In another thread you said that you would be interested to give a try at >>> "Ada for Automation" on a Raspberry Pi. Have you ? >> >> 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? > > I use the wiring pi (gpio executable) > But then my demands right now is checking if a pin is set or not once > every second. > > But if there is a better way, I'd think you can find it in the c-source > and perhaps interface to it. Or get some ideas at least. > > http://wiringpi.com/ Thanks, I will take a look. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de