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

separate RPi::WiringPi::Pin into its own RPi::Pin class #25

Closed
stevieb9 opened this issue May 14, 2017 · 2 comments
Closed

separate RPi::WiringPi::Pin into its own RPi::Pin class #25

stevieb9 opened this issue May 14, 2017 · 2 comments

Comments

@stevieb9
Copy link
Owner

stevieb9 commented May 14, 2017

Will need to remove the parent requirements of RPi::WiringPi and RPi::WiringPi::Util (WiringPi::API will still need to be used as a parent class though of course).

@stevieb9
Copy link
Owner Author

  • remove interrupt_set()
  • override WiringPi::API's set_interrupt()
  • get the pin number from $self, and pass the required parameters to the C function setInterrupt() directly

@stevieb9
Copy link
Owner Author

See #20

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

1 participant