Skip to content

Conversation

@chrisgilldc
Copy link

Adds a deinit method to the DigitalInOut object created by AW9523. Tested and seems to now allow AW9523 DigitalInOut objects to be used as a drop-in for digitalio.DigitalInOut objects. That said, not a python expert and this is my first public pull request, so likely needs a second set of eyes.

@FoamyGuy
Copy link
Contributor

Thanks for making this PR @chrisgilldc the actions checks failed due to code formatting. We have a guide that covers the process that we use for all of the code: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/check-your-code The page I linked contains instructions for the "all-in-one" tool pre-commit which essentially runs all of the checks at once. The following few pages in the guide explain each check individually if you're interested in the different ones (though the all-in-one option should be all you need to get this passing the checks.)

@tekktrik
Copy link
Member

tekktrik commented Dec 3, 2021

It also looks like per the recommendation from @ladyada in Issue #4, should the function used be switch_to_input()? It also looks like it will delete the pin number but not the instance.

@FoamyGuy
Copy link
Contributor

@chrisgilldc are you still interested in working on this PR? If so we need to get it passing the CI checks, if you need help with that let us know here or reach out on the Discord.

@chrisgilldc
Copy link
Author

chrisgilldc commented Jan 24, 2022 via email

@FoamyGuy
Copy link
Contributor

Okay sounds good. I'll close it for now. Feel free to re-open any time. Also feel free to ping me here, or reach out in the discord. There are many folks around there who can help with the CI process.

@FoamyGuy FoamyGuy closed this Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants