TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2019-11-17 20:58:00
subject: Re: Accessing GPIO pins u

Dennis,

> For RPi.GPIO one uses
>
> mode = GPIO.getmode()
>
> which will return Board, BCM, or None (if the mode has not yet been set).

Correct.  And now the only thing I need to do is to convert the pinnumbers I
preset in my class object  into the ones that are valid for whatever
numbering scheme the user has chosen.

I do NOT want to do that with some "it works on my Pi, I don't care about
the other boards or tomorrow" whipped up table.  Hence my wish to have acces
to those "internal tables" - or better yet, the conversion routine itself

Regards,
Rudy Wieser

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.