Skip to content

Add disableInterruptPin() #54

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

Merged
merged 2 commits into from
Feb 8, 2021
Merged

Add disableInterruptPin() #54

merged 2 commits into from
Feb 8, 2021

Conversation

PsuFan
Copy link
Contributor

@PsuFan PsuFan commented Feb 8, 2021

  • Describe the scope of your change--i.e. what the change does and what parts
    of the code were modified.

    Add disableInterruptPin() function to remove interrupt notifications from specific pin.

  • Describe any known limitations with your change.
    None

  • Please run any tests or examples that can exercise your modified code.
    Works fine. ALSO PLEASE CONSIDER DISABLING ALL INTERRUPTS ON BEGIN()! This really hosed me for several hours as it did not occur to me that I wasn't resetting the MCP when resetting my board... I was commenting out the setupInterruptPin() but it was already set from previous code.

@ladyada ladyada merged commit c5e361a into adafruit:master Feb 8, 2021
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.

2 participants