Skip to content

Adding support for defining input pin polarity #35

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 6 commits into from
Oct 20, 2020

Conversation

tigershadowclaw
Copy link
Contributor

No description provided.

adding support for changing the pin polarity
adding support for change the pin polarity
@tigershadowclaw
Copy link
Contributor Author

Not sure what is failing for whatever "black" is.

@FoamyGuy
Copy link
Contributor

Hi there @ShadowClaw thanks for working on this!

Black is the python code formatter that we use on all of the code in the project. You can learn about how to use it to format the code here: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/black

If you run black on the code files and then push a new commit it should resolve that actions check and let you get past it.

@tigershadowclaw
Copy link
Contributor Author

Alright this should be good to go now. Also this has been tested on hardware and confirmed to work.

@tannewt tannewt requested a review from FoamyGuy October 19, 2020 22:13
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this successfully with a Pi 16x2 LCD with a modified version of one of the examples. These changes don't interfere with anything in that example and the new invert_polarity parameter is working successfully to swap the value to opposite.

@FoamyGuy FoamyGuy merged commit 34b9c1d into adafruit:master Oct 20, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 20, 2020
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