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)
|