Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Make GPIOPin.supported_modes a set #237

Closed
kierdavis opened this issue Apr 15, 2019 · 0 comments · Fixed by #276
Closed

Make GPIOPin.supported_modes a set #237

kierdavis opened this issue Apr 15, 2019 · 0 comments · Fixed by #276
Assignees
Labels
Milestone

Comments

@kierdavis
Copy link
Contributor

Spun out of #233.

There's no inherent order to the modes supported by a pin, so its type should reflect this. Note that currently the code does assume an order, in that the first element of the provided list is considered to be the initial mode of the pin (if not otherwise specified). We should change this to make the initial pin mode a required argument.

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

Successfully merging a pull request may close this issue.

2 participants