Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pio.port.getval pin numbers always sorted? #320

Open
Mynogs opened this issue Dec 3, 2019 · 1 comment
Open

pio.port.getval pin numbers always sorted? #320

Mynogs opened this issue Dec 3, 2019 · 1 comment

Comments

@Mynogs
Copy link
Contributor

Mynogs commented Dec 3, 2019

pio.port.getval(39, 38, 37) give as result the values of port 37, 38 and 39.

So pio.port.getval(39, 38, 37) is eqivalent to pio.port.getval(37, 38, 39).

Please document these behaviors, this can be quite surprising!

@the0ne
Copy link
Collaborator

the0ne commented Dec 4, 2019

Hmm, sounds to me as if this wasn't some dangerous feature but rather a bug
bug-feature 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants