Skip to content

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

Open
hasenradball wants to merge 4 commits into
milaq:masterfrom
hasenradball:master
Open

Add GPIO.mode BOARD for usage with BOARD pin numbering#71
hasenradball wants to merge 4 commits into
milaq:masterfrom
hasenradball:master

Conversation

@hasenradball

@hasenradball hasenradball commented Apr 14, 2023

Copy link
Copy Markdown
  • 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.

1 participant