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

Add GPIO.mode BOARD for usage with BOARD pin numbering #71

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hasenradball
Copy link

@hasenradball hasenradball commented Apr 14, 2023

  • added parameter mode to the constructor
  • changed nape gpio to an general name pin
  • added if...else construct to check which mode can be used
  • create new method setMode to collect the set mode stuff in one single function

- remove parameter `pin` from set mode, because it is available in the class itself
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

Successfully merging this pull request may close these issues.

None yet

1 participant